mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Debowerify and google caja support
This commit is contained in:
parent
b2bf69f6d7
commit
72d052eb5d
@ -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]));
|
||||
|
@ -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; };
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user