Skip to content

Commit

Permalink
(last version before deprecation) update dev dependencies + update .t…
Browse files Browse the repository at this point in the history
…ravis.yml
  • Loading branch information
mateusmaso committed May 24, 2017
1 parent 57e51cc commit 6a0a622
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: node_js
node_js:
- "5.9.0"
- "7.10.0"
before_install:
- npm install -g grunt-cli
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
handlebars.nested [![Build Status](https://travis-ci.org/mateusmaso/handlebars.nested.svg?branch=master)](https://travis-ci.org/mateusmaso/handlebars.nested)
=================

This is a Handlebars plugin which allows nesting helpers and expressions in one level deep. For latest versions of Handlebars, please consider using [subexpressions](http://handlebarsjs.com/expressions.html) instead.
[DEPRECATED] This is a Handlebars plugin which allows nesting helpers and expressions in one level deep. For latest versions of Handlebars, please consider using [subexpressions](http://handlebarsjs.com/expressions.html) instead.

## Install

Expand Down
4 changes: 2 additions & 2 deletions dist/handlebars.nested.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// handlebars.nested
// -----------------
// v0.2.1
// v0.2.2
//
// Copyright (c) 2012-2016 Mateus Maso
// Copyright (c) 2012-2017 Mateus Maso
// Distributed under MIT license
//
// http://github.com/mateusmaso/handlebars.nested
Expand Down
7 changes: 4 additions & 3 deletions dist/handlebars.nested.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 11 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "handlebars.nested",
"description": "Handlebars plugin for nesting helpers and expressions",
"version": "0.2.1",
"version": "0.2.2",
"author": "mateusmaso",
"license": "MIT",
"keywords": [
Expand All @@ -10,18 +10,18 @@
"subexpressions"
],
"devDependencies": {
"babel-preset-es2015": "^6.24.1",
"babelify": "^7.3.0",
"chai": "*",
"mocha": "*",
"grunt": "~0.4.5",
"grunt": "^1.0.1",
"grunt-babel": "^6.0.0",
"grunt-browserify": "~4.0.1",
"grunt-contrib-uglify": "~0.5.0",
"grunt-mocha-test": "~0.11.0",
"grunt-mocha-phantomjs": "~3.0.0",
"babel-preset-es2015": "^6.5.0",
"babelify": "^7.2.0",
"jsdom": "^9.1.0",
"handlebars": "~4.0.5"
"grunt-browserify": "^5.0.0",
"grunt-contrib-uglify": "^3.0.1",
"grunt-mocha-phantomjs": "^4.0.0",
"grunt-mocha-test": "^0.13.2",
"handlebars": "^4.0.10",
"jsdom": "^11.0.0",
"mocha": "*"
},
"repository": {
"type" : "git",
Expand All @@ -30,8 +30,5 @@
"scripts": {
"test": "grunt mochaTest mocha_phantomjs"
},
"engines": {
"node" : "~5.9.0"
},
"main": "lib/index.js"
}
5 changes: 3 additions & 2 deletions spec/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
if (typeof window === "undefined") {
var jsdom = require("jsdom").jsdom;
var document = global.document = jsdom("test");
var JSDOM = require("jsdom").JSDOM;
var dom = new JSDOM("test");
var document = global.document = dom.window.document;
var window = global.window = document.defaultView;
var chai = require("chai");
var Handlebars = require("handlebars");
Expand Down

0 comments on commit 6a0a622

Please # to comment.