Comparing version 0.2.1 to 0.2.2
@@ -5,3 +5,3 @@ { | ||
"description": "Client-side framework for structured applications.", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "clientside" |
@@ -99,3 +99,3 @@ define([ | ||
} | ||
this.startIndex = 0; | ||
this.options.startIndex = 0; | ||
this.models = []; | ||
@@ -102,0 +102,0 @@ this.add(models, _.extend({silent: true}, options || {})); |
@@ -10,3 +10,3 @@ define(function() { | ||
// Hr version | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
@@ -13,0 +13,0 @@ // Log level |
@@ -86,6 +86,6 @@ define([ | ||
}); | ||
ressourceurl = Urls.static(config.base, ressourcename) + config.extension; | ||
var ressourceurl = Urls.static(config.base, ressourcename) + config.extension; | ||
// Check application cache | ||
var content = cache.get(ressourcename); | ||
var content = cache.get(ressourceurl); | ||
if (content != null) { callback.resolve(content); return; } | ||
@@ -96,3 +96,3 @@ | ||
Requests.get(ressourceurl).then(function(content) { | ||
cache.set(ressourcename, content); | ||
cache.set(ressourceurl, content); | ||
callback.resolve(content); | ||
@@ -99,0 +99,0 @@ }, function() { |
Sorry, the diff of this file is too big to display
1011529