Permalink
Browse files

Enabling strict mode everywhere.

  • Loading branch information...
1 parent e6104a6 commit 530d4c164fea22541e693186d7a0e0c6fa5400c9 Jordan Harband committed Feb 12, 2013
Showing with 9 additions and 1 deletion.
  1. +1 −1 example/complex.js
  2. +1 −0 example/simple-express.js
  3. +1 −0 example/simple.js
  4. +1 −0 lib/fields.js
  5. +1 −0 lib/forms.js
  6. +1 −0 lib/htmlEscape.js
  7. +1 −0 lib/render.js
  8. +1 −0 lib/validators.js
  9. +1 −0 lib/widgets.js
View
@@ -1,5 +1,5 @@
/*jslint node: true */
-
+'use strict';
var http = require('http'),
util = require('util'),
@@ -1,4 +1,5 @@
/*jslint node: true */
+'use strict';
/*
* You need to additionally install express, jade for this to work
View
@@ -1,4 +1,5 @@
/*jslint node: true */
+'use strict';
var http = require('http'),
util = require('util'),
View
@@ -1,4 +1,5 @@
/*jslint node: true */
+'use strict';
var forms = require('./forms'),
async = require('async'),
View
@@ -1,4 +1,5 @@
/*jslint node: true */
+'use strict';
var async = require('async'),
http = require('http'),
View
@@ -1,6 +1,7 @@
/*
from hogan https://github.com/twitter/hogan.js/blob/master/lib/template.js#L317-L327
*/
+'use strict';
var rAmp = /&/g,
rLt = /</g,
View
@@ -1,4 +1,5 @@
/*jslint node: true */
+'use strict';
var wrapWith = function (tag) {
return function (name, field) {
View
@@ -1,4 +1,5 @@
/*jslint node: true */
+'use strict';
exports.matchField = function (match_field) {
return function (form, field, callback) {
View
@@ -1,4 +1,5 @@
/*jslint node: true */
+'use strict';
var htmlEscape = require('./htmlEscape');
// generates a string for common widget attributes

0 comments on commit 530d4c1

Please sign in to comment.