diff --git a/package.json b/package.json index 9120efe..091285c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dustjs-helpers", - "version": "1.3.0", + "version": "1.4.0", "author": { "name": "Aleksander Williams", "url": "http://akdubya.github.com/dustjs" @@ -55,10 +55,10 @@ "helpers" ], "peerDependencies": { - "dustjs-linkedin": "~2.4.0" + "dustjs-linkedin": "2.4 - 2.5" }, "devDependencies": { - "dustjs-linkedin": "~2.4.0", + "dustjs-linkedin": "2.4 - 2.5", "jasmine-node": "~1.13.0", "grunt": "~0.4.2", "grunt-contrib-jshint": "~0.8.0", diff --git a/test/jasmine-test/spec/helpersTests.js b/test/jasmine-test/spec/helpersTests.js index a3419bf..3cd3340 100644 --- a/test/jasmine-test/spec/helpersTests.js +++ b/test/jasmine-test/spec/helpersTests.js @@ -1035,7 +1035,7 @@ context: { myboolean: true }, expected: "you have 0 new messages", message: "should test if size helper is working properly with boolean true" - }, + }, { name: "size helper with object", source: 'you have {@size key=myValue/} new messages', @@ -1247,13 +1247,6 @@ expected: "{\n \"isObject\": true,\n \"head\": {\n \"aa\": {\n \"A\": 2,\n \"B\": 3\n }\n }\n}", message: "contextDump full test" }, - { - name: "contextDump function dump test", - source: "{#aa param=\"{p}\"}{@contextDump key=\"full\"/}{/aa}", - context: { "aa": ["a"], "p" : 42}, - expected: "{\n \"tail\": {\n \"tail\": {\n \"isObject\": true,\n \"head\": {\n \"aa\": [\n \"a\"\n ],\n \"p\": 42\n }\n },\n \"isObject\": true,\n \"head\": {\n \"param\": \"function body_2(chk, ctx) {return chk.reference(ctx.get([\\\"p\\\"], false), ctx, \\\"h\\\");}\",\n \"$len\": 1,\n \"$idx\": 0\n }\n },\n \"isObject\": false,\n \"head\": \"a\",\n \"index\": 0,\n \"of\": 1\n}", - message: "contextDump function dump test" - }, { name: "contextDump encoding test", source: "{@contextDump/}",