Debowerify and google caja support

This commit is contained in:
Jonathan Frederic 2015-08-18 17:28:50 -07:00
parent b2bf69f6d7
commit 72d052eb5d
3 changed files with 3 additions and 2 deletions

View File

@ -19,5 +19,6 @@ var b = browserify({
});
b.transform(aliasify, aliasifyConfig);
b.transform('debowerify');
b.add(__dirname + '/static-src/' + process.argv[2]);
b.bundle().pipe(fs.createWriteStream(__dirname + '/static/' + process.argv[3]));

View File

@ -4,7 +4,7 @@
"use strict";
var $ = require('jquery');
var sanitize = require('sanitizer');
var sanitize = require('./../../../static/components/google-caja/caja.js');
var noop = function (x) { return x; };

View File

@ -35,6 +35,7 @@
"browserify": "^11.0.1",
"codemirror": "~5.5",
"concurrently": "^0.1.1",
"debowerify": "^1.3.1",
"glob": "^5.0.14",
"jquery": "^2.0",
"jquery-ui": "~1.10",
@ -43,7 +44,6 @@
"mkdirp": "^0.5.1",
"moment": "~2.8.4",
"rimraf": "^2.4.2",
"sanitizer": "^0.1.2",
"term.js": "~0.0.4",
"text-encoding": "~0.1",
"typeahead": "^0.2.0",