Webpack: restore original page scripts

This commit is contained in:
carlfeberhard
2015-10-27 17:22:36 -04:00
parent 5dfb3ffbec
commit cebfdd2745
6 changed files with 10 additions and 492 deletions
+2 -1
View File
@@ -45,7 +45,8 @@ module.exports = function( grunt ){
files: [{
expand : true,
cwd : paths.srcSymlink,
src : '**/*.js',
src : [ '**/*.js', '!apps/**/*.js' ],
// src : '**/*.js',
dest : paths.dist
}],
}
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"common-libs.js","sources":["../../src/libs/common-libs.js"],"names":["jquery","require","window","jQuery","$","_","Backbone","Handlebars","exports"],"mappings":"AACA,GAAIA,QAASC,QAAS,SACtBC,QAAOC,OAASD,OAAOE,EAAIJ,OAC3BC,QAAS,0BAET,IAAII,GAAIJ,QAAS,eACjBC,QAAOG,EAAIA,CACX,IAAIC,UAAWL,QAAS,sBACxBC,QAAOI,SAAWA,QAClB,IAAIC,YAAaN,QAAS,uBAC1BC,QAAOK,WAAaA,WAEpBN,QAAS,eACTA,QAAS,oBACTA,QAAS,kBACTA,QAAS,oBAETO,QAAQR,OAASA,OACjBQ,QAAQH,EAAIA,EACZG,QAAQF,SAAWA,SACnBE,QAAQD,WAAaA"}
{"version":3,"file":"common-libs.js","sources":["../../src/libs/common-libs.js"],"names":["jquery","require","window","jQuery","$","_","Backbone","Handlebars","exports"],"mappings":"AACA,GAAIA,QAASC,QAAS,SACtBC,QAAOC,OAASD,OAAOE,EAAIJ,OAC3BC,QAAS,2BAGTA,QAAS,oBACTA,QAAS,+BACTA,QAAS,wBACTA,QAAS,0BACTA,QAAS,uBAETA,QAAS,cAGT,IAAII,GAAIJ,QAAS,eACjBC,QAAOG,EAAIA,CACX,IAAIC,UAAWL,QAAS,sBACxBC,QAAOI,SAAWA,QAClB,IAAIC,YAAaN,QAAS,uBAC1BC,QAAOK,WAAaA,WAGpBN,QAAS,kBACTA,QAAS,oBACTA,QAAS,6BAETO,QAAQR,OAASA,OACjBQ,QAAQH,EAAIA,EACZG,QAAQF,SAAWA,SACnBE,QAAQD,WAAaA"}
File diff suppressed because one or more lines are too long
+2 -19
View File
@@ -1,19 +1,2 @@
var jquery = require("jquery");
window.jQuery = window.$ = jquery, require("./jquery/jquery.migrate"), require("./jquery/select2"),
require("./jquery/jquery.event.hover"), require("./jquery/jquery.form"), require("./jquery/jquery.rating"),
require("./jquery.sparklines"), require("./bootstrap");
var _ = require("./underscore");
window._ = _;
var Backbone = require("./backbone/backbone");
window.Backbone = Backbone;
var Handlebars = require("./handlebars.runtime");
window.Handlebars = Handlebars, require("../galaxy.base"), require("../galaxy.panels"),
require("../galaxy.autocom_tagging"), exports.jquery = jquery, exports._ = _, exports.Backbone = Backbone,
exports.Handlebars = Handlebars;
var jquery=require("jquery");window.jQuery=window.$=jquery,require("./jquery/jquery.migrate"),require("./jquery/select2"),require("./jquery/jquery.event.hover"),require("./jquery/jquery.form"),require("./jquery/jquery.rating"),require("./jquery.sparklines"),require("./bootstrap");var _=require("./underscore");window._=_;var Backbone=require("./backbone/backbone");window.Backbone=Backbone;var Handlebars=require("./handlebars.runtime");window.Handlebars=Handlebars,require("../galaxy.base"),require("../galaxy.panels"),require("../galaxy.autocom_tagging"),exports.jquery=jquery,exports._=_,exports.Backbone=Backbone,exports.Handlebars=Handlebars;
//# sourceMappingURL=../../maps/libs/common-libs.js.map
File diff suppressed because one or more lines are too long
+2 -54
View File
@@ -1,54 +1,2 @@
this.Handlebars = this.Handlebars || {}, this.Handlebars.templates = this.Handlebars.templates || {},
this.Handlebars.templates.tool_form = Handlebars.template({
"1": function(depth0, helpers, partials, data) {
var stack1, helper, alias1 = helpers.helperMissing, alias2 = "function", alias3 = this.escapeExpression;
return ' <div class="form-row">\n <label for="' + alias3((helper = null != (helper = helpers.name || (null != depth0 ? depth0.name : depth0)) ? helper : alias1,
typeof helper === alias2 ? helper.call(depth0, {
name: "name",
hash: {},
data: data
}) : helper)) + '">' + alias3((helper = null != (helper = helpers.label || (null != depth0 ? depth0.label : depth0)) ? helper : alias1,
typeof helper === alias2 ? helper.call(depth0, {
name: "label",
hash: {},
data: data
}) : helper)) + ':</label>\n <div class="form-row-input">\n ' + (null != (helper = null != (helper = helpers.html || (null != depth0 ? depth0.html : depth0)) ? helper : alias1,
stack1 = typeof helper === alias2 ? helper.call(depth0, {
name: "html",
hash: {},
data: data
}) : helper) ? stack1 : "") + '\n </div>\n <div class="toolParamHelp" style="clear: both;">\n ' + alias3((helper = null != (helper = helpers.help || (null != depth0 ? depth0.help : depth0)) ? helper : alias1,
typeof helper === alias2 ? helper.call(depth0, {
name: "help",
hash: {},
data: data
}) : helper)) + '\n </div>\n <div style="clear: both;"></div>\n </div>\n';
},
compiler: [ 6, ">= 2.0.0-beta.1" ],
main: function(depth0, helpers, partials, data) {
var stack1, helper, alias1 = helpers.helperMissing, alias2 = "function", alias3 = this.escapeExpression;
return '<div class="toolFormTitle">' + alias3((helper = null != (helper = helpers.name || (null != depth0 ? depth0.name : depth0)) ? helper : alias1,
typeof helper === alias2 ? helper.call(depth0, {
name: "name",
hash: {},
data: data
}) : helper)) + " (version " + alias3((helper = null != (helper = helpers.version || (null != depth0 ? depth0.version : depth0)) ? helper : alias1,
typeof helper === alias2 ? helper.call(depth0, {
name: "version",
hash: {},
data: data
}) : helper)) + ')</div>\n <div class="toolFormBody">\n' + (null != (stack1 = helpers.each.call(depth0, null != depth0 ? depth0.inputs : depth0, {
name: "each",
hash: {},
fn: this.program(1, data, 0),
inverse: this.noop,
data: data
})) ? stack1 : "") + ' </div>\n <div class="form-row form-actions">\n <input type="submit" class="btn btn-primary" name="runtool_btn" value="Execute">\n</div>\n<div class="toolHelp">\n <div class="toolHelpBody">' + alias3((helper = null != (helper = helpers.help || (null != depth0 ? depth0.help : depth0)) ? helper : alias1,
typeof helper === alias2 ? helper.call(depth0, {
name: "help",
hash: {},
data: data
}) : helper)) + "</div>\n</div>";
},
useData: !0
});
this.Handlebars=this.Handlebars||{},this.Handlebars.templates=this.Handlebars.templates||{},this.Handlebars.templates.tool_form=Handlebars.template({1:function(a,b,c,d){var e,f,g=b.helperMissing,h="function",i=this.escapeExpression;return' <div class="form-row">\n <label for="'+i((f=null!=(f=b.name||(null!=a?a.name:a))?f:g,typeof f===h?f.call(a,{name:"name",hash:{},data:d}):f))+'">'+i((f=null!=(f=b.label||(null!=a?a.label:a))?f:g,typeof f===h?f.call(a,{name:"label",hash:{},data:d}):f))+':</label>\n <div class="form-row-input">\n '+(null!=(f=null!=(f=b.html||(null!=a?a.html:a))?f:g,e=typeof f===h?f.call(a,{name:"html",hash:{},data:d}):f)?e:"")+'\n </div>\n <div class="toolParamHelp" style="clear: both;">\n '+i((f=null!=(f=b.help||(null!=a?a.help:a))?f:g,typeof f===h?f.call(a,{name:"help",hash:{},data:d}):f))+'\n </div>\n <div style="clear: both;"></div>\n </div>\n'},compiler:[6,">= 2.0.0-beta.1"],main:function(a,b,c,d){var e,f,g=b.helperMissing,h="function",i=this.escapeExpression;return'<div class="toolFormTitle">'+i((f=null!=(f=b.name||(null!=a?a.name:a))?f:g,typeof f===h?f.call(a,{name:"name",hash:{},data:d}):f))+" (version "+i((f=null!=(f=b.version||(null!=a?a.version:a))?f:g,typeof f===h?f.call(a,{name:"version",hash:{},data:d}):f))+')</div>\n <div class="toolFormBody">\n'+(null!=(e=b.each.call(a,null!=a?a.inputs:a,{name:"each",hash:{},fn:this.program(1,d,0),inverse:this.noop,data:d}))?e:"")+' </div>\n <div class="form-row form-actions">\n <input type="submit" class="btn btn-primary" name="runtool_btn" value="Execute">\n</div>\n<div class="toolHelp">\n <div class="toolHelpBody">'+i((f=null!=(f=b.help||(null!=a?a.help:a))?f:g,typeof f===h?f.call(a,{name:"help",hash:{},data:d}):f))+"</div>\n</div>"},useData:!0});
//# sourceMappingURL=../../../maps/templates/compiled/tool_form.js.map