fix tempate interpolation test and build

This commit is contained in:
Vladimir Agafonkin 2013-08-27 22:06:01 +03:00
parent d0f768ba36
commit 21d8bde0b7

View File

@ -204,9 +204,9 @@ describe('Util', function() {
it('check the cache', function () {
var tpl = 'Hello {foo} and {baz }!';
var str = L.Util.templateCache[tpl]({
var str = L.Util._templateCache[tpl]({
foo: 'ladies',
baz: function(){
baz: function() {
return 'gentlemen';
}
});