template-engine
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -7,4 +7,2 @@ var core = require('core'); | ||
var ResourceManager = require('./PlatformManager.js').PlatformManager; | ||
var instance = null; | ||
@@ -58,3 +56,3 @@ | ||
} | ||
if (platformsYaml.platform.dependencies[localName] == 'local') { | ||
if (platformsYaml.platform.dependencies[localName] == PlatformManager.PLATFORM_SELF_NAME) { | ||
try { | ||
@@ -134,3 +132,3 @@ var appYaml = (YAML.parseFileSync('./app.yaml')).pop(); | ||
if (platformUrl == 'local') { | ||
if (platformUrl == PlatformManager.PLATFORM_SELF_NAME) { | ||
counter += 1; | ||
@@ -205,2 +203,5 @@ continue; | ||
for (var i=0, len = externalPlatformKeys.length; i<len; i++) { | ||
if (externalPlatform[externalPlatformKeys[i]] == PlatformManager.PLATFORM_SELF_NAME) { | ||
continue; | ||
} | ||
that.setCachePlatforms(externalPlatformKeys[i], externalPlatform[externalPlatformKeys[i]]); | ||
@@ -327,4 +328,5 @@ } | ||
PlatformManager.PLATFORM_SELF_NAME = 'local'; | ||
exports.PlatformManager = PlatformManager; | ||
{ | ||
"name": "template-engine", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Engine that renders templates of any kind", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
6133288
41321