Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschlinkert committed Jan 8, 2017
1 parent afadfd5 commit 1d9852b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
6 changes: 3 additions & 3 deletions lib/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ var helpers = module.exports;
helpers.css = function(array, options) {
if (arguments.length < 2) {
options = array;
array = undefined;
array = [];
}

var styles = utils.arrayify(array || []);
var styles = utils.arrayify(array);
var assets = '';

if (this && this.options) {
Expand Down Expand Up @@ -99,7 +99,7 @@ helpers.js = function(context) {
return context.map(function(fp) {
return (path.extname(fp) === '.coffee')
? utils.tag('script', {type: 'text/coffeescript', src: fp})
: utils.tag('script', {src: fp}, true);
: utils.tag('script', {src: fp});
}).join('\n');
};

Expand Down
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,27 @@
"arr-filter": "^1.1.1",
"arr-flatten": "^1.0.1",
"array-sort": "^0.1.2",
"create-frame": "^0.1.2",
"create-frame": "^1.0.0",
"define-property": "^0.2.5",
"for-in": "^0.1.5",
"for-in": "^0.1.6",
"for-own": "^0.1.4",
"get-object": "^0.2.0",
"get-value": "^2.0.6",
"helper-date": "^0.2.2",
"handlebars": "^4.0.6",
"helper-date": "^0.2.3",
"helper-markdown": "^0.2.1",
"helper-md": "^0.2.1",
"html-tag": "^0.2.1",
"html-tag": "^1.0.0",
"index-of": "^0.2.0",
"is-even": "^0.1.1",
"is-glob": "^2.0.1",
"is-number": "^2.1.0",
"is-odd": "^0.1.0",
"kind-of": "^3.0.3",
"lazy-cache": "^2.0.1",
"is-glob": "^3.1.0",
"is-number": "^3.0.0",
"is-odd": "^0.1.1",
"kind-of": "^3.1.0",
"lazy-cache": "^2.0.2",
"logging-helpers": "^0.4.0",
"make-iterator": "^0.3.0",
"micromatch": "^2.3.10",
"micromatch": "^2.3.11",
"mixin-deep": "^1.1.3",
"normalize-path": "^2.0.1",
"relative": "^3.0.2",
Expand All @@ -56,21 +57,20 @@
"global-modules": "^0.2.3",
"gulp": "^3.9.1",
"gulp-eslint": "^3.0.1",
"gulp-format-md": "^0.1.9",
"gulp-istanbul": "^1.0.0",
"gulp-mocha": "^2.2.0",
"gulp-unused": "^0.1.2",
"handlebars": "^4.0.5",
"gulp-format-md": "^0.1.11",
"gulp-istanbul": "^1.1.1",
"gulp-mocha": "^3.0.1",
"gulp-unused": "^0.2.0",
"helper-coverage": "^0.1.3",
"is-valid-app": "^0.2.0",
"is-valid-app": "^0.2.1",
"markdown-link": "^0.1.1",
"mocha": "^2.5.3",
"should": "^9.0.2",
"template-helpers": "^0.6.6",
"templates": "^0.25.1",
"through2": "^2.0.1",
"verb-generate-readme": "^0.1.30",
"vinyl": "^1.2.0"
"mocha": "^3.2.0",
"should": "^11.1.2",
"template-helpers": "^0.6.7",
"templates": "^0.25.3",
"through2": "^2.0.3",
"verb-generate-readme": "^0.3.0",
"vinyl": "^2.0.1"
},
"keywords": [
"assemble",
Expand Down Expand Up @@ -132,9 +132,9 @@
"assemble",
"handlebars",
"remarkable",
"template-helpers",
"verb",
"verb-readme-generator",
"template-helpers"
"verb-readme-generator"
],
"helpers": [
"helper-coverage"
Expand Down
2 changes: 1 addition & 1 deletion test/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('html', function() {

it('should create a coffeescript tag (TODO: only works with array format)', function() {
var ctx = {scripts: ['a.coffee'] };
hbs.compile('{{{js scripts}}}')(ctx).should.equal('<script type="text/coffeescript" src="a.coffee">');
hbs.compile('{{{js scripts}}}')(ctx).should.equal('<script type="text/coffeescript" src="a.coffee"></script>');
});
});

Expand Down

0 comments on commit 1d9852b

Please sign in to comment.