[Pkg-javascript-commits] [leaflet] 77/301: fix tempate interpolation test and build

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:43 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet.

commit 21d8bde0b7bd18658df62e7d4509dc04a9e0e307
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date:   Tue Aug 27 22:06:01 2013 +0300

    fix tempate interpolation test and build
---
 spec/suites/core/UtilSpec.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/suites/core/UtilSpec.js b/spec/suites/core/UtilSpec.js
index 7ec46d9..0decc0f 100644
--- a/spec/suites/core/UtilSpec.js
+++ b/spec/suites/core/UtilSpec.js
@@ -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';
 				}
 			});

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git



More information about the Pkg-javascript-commits mailing list