Permalink
Browse files

Switched the code into strict mode.

  • Loading branch information...
romac committed Mar 19, 2013
1 parent bdf0899 commit 1af770c79dd9b38bcd1ac80b4aed15fa28bbcef5
Showing with 11 additions and 1 deletion.
  1. +3 −1 index.js
  2. +2 −0 lib/handler.js
  3. +2 −0 lib/payload.js
  4. +2 −0 lib/whitelist.js
  5. +2 −0 utils.js
View
@@ -1,7 +1,9 @@
+"use strict";
+
var proto = require( './lib/handler' ),
utils = require( './utils' ),
- payload = require( './lib/payload' );
+ payload = require( './lib/payload' ),
whitelist = require( './lib/whitelist' );
// All of this is obviously inspired by connect: https://github.com/senchalabs/connect
View
@@ -1,4 +1,6 @@
+"use strict";
+
function handle( req, res, done )
{
if( !req.flick ) {
View
@@ -1,4 +1,6 @@
+"use strict";
+
module.exports = function payload( param )
{
param = param || 'payload';
View
@@ -1,4 +1,6 @@
+"use strict";
+
var Netmask = require( 'netmask' ).Netmask;
whitelist.knownRemotes = [
View
@@ -1,4 +1,6 @@
+"use strict";
+
exports.merge = function( a, b )
{
for( var key in b ) {

0 comments on commit 1af770c

Please sign in to comment.