Skip to content

Commit

Permalink
version 1.4.0 will dep dustjs 2.4-2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Kinast committed Nov 4, 2014
1 parent 613e2b7 commit 7f1b442
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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",
Expand Down
9 changes: 1 addition & 8 deletions test/jasmine-test/spec/helpersTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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/}",
Expand Down

0 comments on commit 7f1b442

Please sign in to comment.