"use strict";
authorMihai Bazon <mihai@bazon.net>
Tue, 2 Oct 2012 09:45:31 +0000 (12:45 +0300)
committerMihai Bazon <mihai@bazon.net>
Tue, 2 Oct 2012 09:45:58 +0000 (12:45 +0300)
bin/uglifyjs2
lib/ast.js
lib/compress.js
lib/output.js
lib/parse.js
lib/scope.js
lib/sourcemap.js
lib/transform.js
lib/utils.js

index dd8a758..ea82ddf 100755 (executable)
@@ -1,6 +1,8 @@
 #! /usr/bin/env node
 // -*- js -*-
 
+"use strict";
+
 var UglifyJS = require("../tools/node");
 var sys = require("util");
 var optimist = require("optimist");
index c62e142..185328a 100644 (file)
@@ -41,6 +41,8 @@
 
  ***********************************************************************/
 
+"use strict";
+
 var NODE_HIERARCHY = {};
 
 function DEFNODE(type, props, methods, base) {
index a6edf41..ecd9c95 100644 (file)
@@ -41,6 +41,8 @@
 
  ***********************************************************************/
 
+"use strict";
+
 function Compressor(options, false_by_default) {
     if (!(this instanceof Compressor))
         return new Compressor(options, false_by_default);
index 615f711..e5531f5 100644 (file)
@@ -41,6 +41,8 @@
 
  ***********************************************************************/
 
+"use strict";
+
 function OutputStream(options) {
 
     options = defaults(options, {
index b054c72..115a42c 100644 (file)
@@ -42,6 +42,8 @@
 
  ***********************************************************************/
 
+"use strict";
+
 var KEYWORDS = array_to_hash([
     "break",
     "case",
index 71ed066..4166ac2 100644 (file)
@@ -41,6 +41,8 @@
 
  ***********************************************************************/
 
+"use strict";
+
 function SymbolDef(scope, orig) {
     this.name = orig.name;
     this.orig = [ orig ];
index da4ab4f..a9dc6a8 100644 (file)
@@ -41,6 +41,8 @@
 
  ***********************************************************************/
 
+"use strict";
+
 // a small wrapper around fitzgen's source-map library
 function SourceMap(options) {
     options = defaults(options, {
index 0d15e63..d85262b 100644 (file)
@@ -41,6 +41,8 @@
 
  ***********************************************************************/
 
+"use strict";
+
 // Tree transformer helpers.
 // XXX: eventually I should refactor the compressor to use this infrastructure.
 
index 3b8aa00..83e514a 100644 (file)
@@ -41,6 +41,8 @@
 
  ***********************************************************************/
 
+"use strict";
+
 function curry(f) {
     var args = slice(arguments, 1);
     return function() { return f.apply(this, args.concat(slice(arguments))); };