"use strict";

This commit is contained in:
Mihai Bazon
2012-10-02 12:45:31 +03:00
parent 211792757c
commit e1098b04a7
9 changed files with 18 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
#! /usr/bin/env node
// -*- js -*-
"use strict";
var UglifyJS = require("../tools/node");
var sys = require("util");
var optimist = require("optimist");

View File

@@ -41,6 +41,8 @@
***********************************************************************/
"use strict";
var NODE_HIERARCHY = {};
function DEFNODE(type, props, methods, base) {

View File

@@ -41,6 +41,8 @@
***********************************************************************/
"use strict";
function Compressor(options, false_by_default) {
if (!(this instanceof Compressor))
return new Compressor(options, false_by_default);

View File

@@ -41,6 +41,8 @@
***********************************************************************/
"use strict";
function OutputStream(options) {
options = defaults(options, {

View File

@@ -42,6 +42,8 @@
***********************************************************************/
"use strict";
var KEYWORDS = array_to_hash([
"break",
"case",

View File

@@ -41,6 +41,8 @@
***********************************************************************/
"use strict";
function SymbolDef(scope, orig) {
this.name = orig.name;
this.orig = [ orig ];

View File

@@ -41,6 +41,8 @@
***********************************************************************/
"use strict";
// a small wrapper around fitzgen's source-map library
function SourceMap(options) {
options = defaults(options, {

View File

@@ -41,6 +41,8 @@
***********************************************************************/
"use strict";
// Tree transformer helpers.
// XXX: eventually I should refactor the compressor to use this infrastructure.

View 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))); };