commit/galaxy-central: carlfeberhard: Handlebars.runtime.js: update to 1.0.0, recompile templates, pack (devs need to update their handlebars.compilers to 1.0.12)
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/1f45ab84c121/ Changeset: 1f45ab84c121 User: carlfeberhard Date: 2013-08-07 21:12:35 Summary: Handlebars.runtime.js: update to 1.0.0, recompile templates, pack (devs need to update their handlebars.compilers to 1.0.12) Affected #: 50 files diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/libs/handlebars.runtime.js --- a/static/scripts/libs/handlebars.runtime.js +++ b/static/scripts/libs/handlebars.runtime.js @@ -1,39 +1,80 @@ +/* + +Copyright (C) 2011 by Yehuda Katz + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +*/ + +// lib/handlebars/browser-prefix.js +var Handlebars = {}; + +(function(Handlebars, undefined) { +; // lib/handlebars/base.js -/*jshint eqnull:true*/ -this.Handlebars = {}; +Handlebars.VERSION = "1.0.0"; +Handlebars.COMPILER_REVISION = 4; -(function(Handlebars) { - -Handlebars.VERSION = "1.0.rc.1"; +Handlebars.REVISION_CHANGES = { + 1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it + 2: '== 1.0.0-rc.3', + 3: '== 1.0.0-rc.4', + 4: '>= 1.0.0' +}; Handlebars.helpers = {}; Handlebars.partials = {}; +var toString = Object.prototype.toString, + functionType = '[object Function]', + objectType = '[object Object]'; + Handlebars.registerHelper = function(name, fn, inverse) { - if(inverse) { fn.not = inverse; } - this.helpers[name] = fn; + if (toString.call(name) === objectType) { + if (inverse || fn) { throw new Handlebars.Exception('Arg not supported with multiple helpers'); } + Handlebars.Utils.extend(this.helpers, name); + } else { + if (inverse) { fn.not = inverse; } + this.helpers[name] = fn; + } }; Handlebars.registerPartial = function(name, str) { - this.partials[name] = str; + if (toString.call(name) === objectType) { + Handlebars.Utils.extend(this.partials, name); + } else { + this.partials[name] = str; + } }; Handlebars.registerHelper('helperMissing', function(arg) { if(arguments.length === 2) { return undefined; } else { - throw new Error("Could not find property '" + arg + "'"); + throw new Error("Missing helper: '" + arg + "'"); } }); -var toString = Object.prototype.toString, functionType = "[object Function]"; - Handlebars.registerHelper('blockHelperMissing', function(context, options) { var inverse = options.inverse || function() {}, fn = options.fn; - - var ret = ""; var type = toString.call(context); if(type === functionType) { context = context.call(this); } @@ -62,63 +103,97 @@ return obj; }; +Handlebars.logger = { + DEBUG: 0, INFO: 1, WARN: 2, ERROR: 3, level: 3, + + methodMap: {0: 'debug', 1: 'info', 2: 'warn', 3: 'error'}, + + // can be overridden in the host environment + log: function(level, obj) { + if (Handlebars.logger.level <= level) { + var method = Handlebars.logger.methodMap[level]; + if (typeof console !== 'undefined' && console[method]) { + console[method].call(console, obj); + } + } + } +}; + +Handlebars.log = function(level, obj) { Handlebars.logger.log(level, obj); }; + Handlebars.registerHelper('each', function(context, options) { var fn = options.fn, inverse = options.inverse; - var ret = "", data; + var i = 0, ret = "", data; + + var type = toString.call(context); + if(type === functionType) { context = context.call(this); } if (options.data) { data = Handlebars.createFrame(options.data); } - if(context && context.length > 0) { - for(var i=0, j=context.length; i<j; i++) { - if (data) { data.index = i; } - ret = ret + fn(context[i], { data: data }); + if(context && typeof context === 'object') { + if(context instanceof Array){ + for(var j = context.length; i<j; i++) { + if (data) { data.index = i; } + ret = ret + fn(context[i], { data: data }); + } + } else { + for(var key in context) { + if(context.hasOwnProperty(key)) { + if(data) { data.key = key; } + ret = ret + fn(context[key], {data: data}); + i++; + } + } } - } else { + } + + if(i === 0){ ret = inverse(this); } + return ret; }); -Handlebars.registerHelper('if', function(context, options) { - var type = toString.call(context); - if(type === functionType) { context = context.call(this); } +Handlebars.registerHelper('if', function(conditional, options) { + var type = toString.call(conditional); + if(type === functionType) { conditional = conditional.call(this); } - if(!context || Handlebars.Utils.isEmpty(context)) { + if(!conditional || Handlebars.Utils.isEmpty(conditional)) { return options.inverse(this); } else { return options.fn(this); } }); -Handlebars.registerHelper('unless', function(context, options) { - var fn = options.fn, inverse = options.inverse; - options.fn = inverse; - options.inverse = fn; - - return Handlebars.helpers['if'].call(this, context, options); +Handlebars.registerHelper('unless', function(conditional, options) { + return Handlebars.helpers['if'].call(this, conditional, {fn: options.inverse, inverse: options.fn}); }); Handlebars.registerHelper('with', function(context, options) { - return options.fn(context); + var type = toString.call(context); + if(type === functionType) { context = context.call(this); } + + if (!Handlebars.Utils.isEmpty(context)) return options.fn(context); }); -Handlebars.registerHelper('log', function(context) { - Handlebars.log(context); +Handlebars.registerHelper('log', function(context, options) { + var level = options.data && options.data.level != null ? parseInt(options.data.level, 10) : 1; + Handlebars.log(level, context); }); - -}(this.Handlebars)); ; // lib/handlebars/utils.js + +var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack']; + Handlebars.Exception = function(message) { var tmp = Error.prototype.constructor.apply(this, arguments); - for (var p in tmp) { - if (tmp.hasOwnProperty(p)) { this[p] = tmp[p]; } + // Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work. + for (var idx = 0; idx < errorProps.length; idx++) { + this[errorProps[idx]] = tmp[errorProps[idx]]; } - - this.message = tmp.message; }; Handlebars.Exception.prototype = new Error(); @@ -130,52 +205,61 @@ return this.string.toString(); }; -(function() { - var escape = { - "&": "&", - "<": "<", - ">": ">", - '"': """, - "'": "'", - "`": "`" - }; +var escape = { + "&": "&", + "<": "<", + ">": ">", + '"': """, + "'": "'", + "`": "`" +}; - var badChars = /[&<>"'`]/g; - var possible = /[&<>"'`]/; +var badChars = /[&<>"'`]/g; +var possible = /[&<>"'`]/; - var escapeChar = function(chr) { - return escape[chr] || "&"; - }; +var escapeChar = function(chr) { + return escape[chr] || "&"; +}; - Handlebars.Utils = { - escapeExpression: function(string) { - // don't escape SafeStrings, since they're already safe - if (string instanceof Handlebars.SafeString) { - return string.toString(); - } else if (string == null || string === false) { - return ""; - } - - if(!possible.test(string)) { return string; } - return string.replace(badChars, escapeChar); - }, - - isEmpty: function(value) { - if (typeof value === "undefined") { - return true; - } else if (value === null) { - return true; - } else if (value === false) { - return true; - } else if(Object.prototype.toString.call(value) === "[object Array]" && value.length === 0) { - return true; - } else { - return false; +Handlebars.Utils = { + extend: function(obj, value) { + for(var key in value) { + if(value.hasOwnProperty(key)) { + obj[key] = value[key]; } } - }; -})();; + }, + + escapeExpression: function(string) { + // don't escape SafeStrings, since they're already safe + if (string instanceof Handlebars.SafeString) { + return string.toString(); + } else if (string == null || string === false) { + return ""; + } + + // Force a string conversion as this will be done by the append regardless and + // the regex test will do this transparently behind the scenes, causing issues if + // an object's to string has escaped characters in it. + string = string.toString(); + + if(!possible.test(string)) { return string; } + return string.replace(badChars, escapeChar); + }, + + isEmpty: function(value) { + if (!value && value !== 0) { + return true; + } else if(toString.call(value) === "[object Array]" && value.length === 0) { + return true; + } else { + return false; + } + } +}; +; // lib/handlebars/runtime.js + Handlebars.VM = { template: function(templateSpec) { // Just add water @@ -186,39 +270,73 @@ program: function(i, fn, data) { var programWrapper = this.programs[i]; if(data) { - return Handlebars.VM.program(fn, data); - } else if(programWrapper) { - return programWrapper; - } else { - programWrapper = this.programs[i] = Handlebars.VM.program(fn); - return programWrapper; + programWrapper = Handlebars.VM.program(i, fn, data); + } else if (!programWrapper) { + programWrapper = this.programs[i] = Handlebars.VM.program(i, fn); } + return programWrapper; + }, + merge: function(param, common) { + var ret = param || common; + + if (param && common) { + ret = {}; + Handlebars.Utils.extend(ret, common); + Handlebars.Utils.extend(ret, param); + } + return ret; }, programWithDepth: Handlebars.VM.programWithDepth, - noop: Handlebars.VM.noop + noop: Handlebars.VM.noop, + compilerInfo: null }; return function(context, options) { options = options || {}; - return templateSpec.call(container, Handlebars, context, options.helpers, options.partials, options.data); + var result = templateSpec.call(container, Handlebars, context, options.helpers, options.partials, options.data); + + var compilerInfo = container.compilerInfo || [], + compilerRevision = compilerInfo[0] || 1, + currentRevision = Handlebars.COMPILER_REVISION; + + if (compilerRevision !== currentRevision) { + if (compilerRevision < currentRevision) { + var runtimeVersions = Handlebars.REVISION_CHANGES[currentRevision], + compilerVersions = Handlebars.REVISION_CHANGES[compilerRevision]; + throw "Template was precompiled with an older version of Handlebars than the current runtime. "+ + "Please update your precompiler to a newer version ("+runtimeVersions+") or downgrade your runtime to an older version ("+compilerVersions+")."; + } else { + // Use the embedded version info since the runtime doesn't know about this revision yet + throw "Template was precompiled with a newer version of Handlebars than the current runtime. "+ + "Please update your runtime to a newer version ("+compilerInfo[1]+")."; + } + } + + return result; }; }, - programWithDepth: function(fn, data, $depth) { - var args = Array.prototype.slice.call(arguments, 2); + programWithDepth: function(i, fn, data /*, $depth */) { + var args = Array.prototype.slice.call(arguments, 3); - return function(context, options) { + var program = function(context, options) { options = options || {}; return fn.apply(this, [context, options.data || data].concat(args)); }; + program.program = i; + program.depth = args.length; + return program; }, - program: function(fn, data) { - return function(context, options) { + program: function(i, fn, data) { + var program = function(context, options) { options = options || {}; return fn(context, options.data || data); }; + program.program = i; + program.depth = 0; + return program; }, noop: function() { return ""; }, invokePartial: function(partial, name, context, helpers, partials, data) { @@ -239,3 +357,6 @@ Handlebars.template = Handlebars.VM.template; ; +// lib/handlebars/browser-suffix.js +})(Handlebars); +; diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/libs/handlebars.runtime.js --- a/static/scripts/packed/libs/handlebars.runtime.js +++ b/static/scripts/packed/libs/handlebars.runtime.js @@ -1,1 +1,1 @@ -this.Handlebars={};(function(c){c.VERSION="1.0.rc.1";c.helpers={};c.partials={};c.registerHelper=function(e,f,d){if(d){f.not=d}this.helpers[e]=f};c.registerPartial=function(d,e){this.partials[d]=e};c.registerHelper("helperMissing",function(d){if(arguments.length===2){return undefined}else{throw new Error("Could not find property '"+d+"'")}});var a=Object.prototype.toString,b="[object Function]";c.registerHelper("blockHelperMissing",function(g,f){var d=f.inverse||function(){},i=f.fn;var e="";var h=a.call(g);if(h===b){g=g.call(this)}if(g===true){return i(this)}else{if(g===false||g==null){return d(this)}else{if(h==="[object Array]"){if(g.length>0){return c.helpers.each(g,f)}else{return d(this)}}else{return i(g)}}}});c.K=function(){};c.createFrame=Object.create||function(d){c.K.prototype=d;var e=new c.K();c.K.prototype=null;return e};c.registerHelper("each",function(k,g){var l=g.fn,d=g.inverse;var f="",m;if(g.data){m=c.createFrame(g.data)}if(k&&k.length>0){for(var h=0,e=k.length;h<e;h++){if(m){m.index=h}f=f+l(k[h],{data:m})}}else{f=d(this)}return f});c.registerHelper("if",function(e,d){var f=a.call(e);if(f===b){e=e.call(this)}if(!e||c.Utils.isEmpty(e)){return d.inverse(this)}else{return d.fn(this)}});c.registerHelper("unless",function(f,e){var g=e.fn,d=e.inverse;e.fn=d;e.inverse=g;return c.helpers["if"].call(this,f,e)});c.registerHelper("with",function(e,d){return d.fn(e)});c.registerHelper("log",function(d){c.log(d)})}(this.Handlebars));Handlebars.Exception=function(b){var a=Error.prototype.constructor.apply(this,arguments);for(var c in a){if(a.hasOwnProperty(c)){this[c]=a[c]}}this.message=a.message};Handlebars.Exception.prototype=new Error();Handlebars.SafeString=function(a){this.string=a};Handlebars.SafeString.prototype.toString=function(){return this.string.toString()};(function(){var c={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};var d=/[&<>"'`]/g;var b=/[&<>"'`]/;var a=function(e){return c[e]||"&"};Handlebars.Utils={escapeExpression:function(e){if(e instanceof Handlebars.SafeString){return e.toString()}else{if(e==null||e===false){return""}}if(!b.test(e)){return e}return e.replace(d,a)},isEmpty:function(e){if(typeof e==="undefined"){return true}else{if(e===null){return true}else{if(e===false){return true}else{if(Object.prototype.toString.call(e)==="[object Array]"&&e.length===0){return true}else{return false}}}}}}})();Handlebars.VM={template:function(a){var b={escapeExpression:Handlebars.Utils.escapeExpression,invokePartial:Handlebars.VM.invokePartial,programs:[],program:function(d,e,f){var c=this.programs[d];if(f){return Handlebars.VM.program(e,f)}else{if(c){return c}else{c=this.programs[d]=Handlebars.VM.program(e);return c}}},programWithDepth:Handlebars.VM.programWithDepth,noop:Handlebars.VM.noop};return function(d,c){c=c||{};return a.call(b,Handlebars,d,c.helpers,c.partials,c.data)}},programWithDepth:function(b,d,c){var a=Array.prototype.slice.call(arguments,2);return function(f,e){e=e||{};return b.apply(this,[f,e.data||d].concat(a))}},program:function(a,b){return function(d,c){c=c||{};return a(d,c.data||b)}},noop:function(){return""},invokePartial:function(a,c,e,f,d,g){var b={helpers:f,partials:d,data:g};if(a===undefined){throw new Handlebars.Exception("The partial "+c+" could not be found")}else{if(a instanceof Function){return a(e,b)}else{if(!Handlebars.compile){throw new Handlebars.Exception("The partial "+c+" could not be compiled when running in runtime-only mode")}else{d[c]=Handlebars.compile(a,{data:g!==undefined});return d[c](e,b)}}}}};Handlebars.template=Handlebars.VM.template; \ No newline at end of file +var Handlebars={};(function(c,e){c.VERSION="1.0.0";c.COMPILER_REVISION=4;c.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:">= 1.0.0"};c.helpers={};c.partials={};var d=Object.prototype.toString,f="[object Function]",b="[object Object]";c.registerHelper=function(l,m,k){if(d.call(l)===b){if(k||m){throw new c.Exception("Arg not supported with multiple helpers")}c.Utils.extend(this.helpers,l)}else{if(k){m.not=k}this.helpers[l]=m}};c.registerPartial=function(k,l){if(d.call(k)===b){c.Utils.extend(this.partials,k)}else{this.partials[k]=l}};c.registerHelper("helperMissing",function(k){if(arguments.length===2){return e}else{throw new Error("Missing helper: '"+k+"'")}});c.registerHelper("blockHelperMissing",function(m,l){var k=l.inverse||function(){},o=l.fn;var n=d.call(m);if(n===f){m=m.call(this)}if(m===true){return o(this)}else{if(m===false||m==null){return k(this)}else{if(n==="[object Array]"){if(m.length>0){return c.helpers.each(m,l)}else{return k(this)}}else{return o(m)}}}});c.K=function(){};c.createFrame=Object.create||function(k){c.K.prototype=k;var l=new c.K();c.K.prototype=null;return l};c.logger={DEBUG:0,INFO:1,WARN:2,ERROR:3,level:3,methodMap:{0:"debug",1:"info",2:"warn",3:"error"},log:function(m,k){if(c.logger.level<=m){var l=c.logger.methodMap[m];if(typeof console!=="undefined"&&console[l]){console[l].call(console,k)}}}};c.log=function(l,k){c.logger.log(l,k)};c.registerHelper("each",function(k,t){var r=t.fn,m=t.inverse;var o=0,p="",n;var q=d.call(k);if(q===f){k=k.call(this)}if(t.data){n=c.createFrame(t.data)}if(k&&typeof k==="object"){if(k instanceof Array){for(var l=k.length;o<l;o++){if(n){n.index=o}p=p+r(k[o],{data:n})}}else{for(var s in k){if(k.hasOwnProperty(s)){if(n){n.key=s}p=p+r(k[s],{data:n});o++}}}}if(o===0){p=m(this)}return p});c.registerHelper("if",function(l,k){var m=d.call(l);if(m===f){l=l.call(this)}if(!l||c.Utils.isEmpty(l)){return k.inverse(this)}else{return k.fn(this)}});c.registerHelper("unless",function(l,k){return c.helpers["if"].call(this,l,{fn:k.inverse,inverse:k.fn})});c.registerHelper("with",function(l,k){var m=d.call(l);if(m===f){l=l.call(this)}if(!c.Utils.isEmpty(l)){return k.fn(l)}});c.registerHelper("log",function(l,k){var m=k.data&&k.data.level!=null?parseInt(k.data.level,10):1;c.log(m,l)});var i=["description","fileName","lineNumber","message","name","number","stack"];c.Exception=function(m){var l=Error.prototype.constructor.apply(this,arguments);for(var k=0;k<i.length;k++){this[i[k]]=l[i[k]]}};c.Exception.prototype=new Error();c.SafeString=function(k){this.string=k};c.SafeString.prototype.toString=function(){return this.string.toString()};var h={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};var a=/[&<>"'`]/g;var g=/[&<>"'`]/;var j=function(k){return h[k]||"&"};c.Utils={extend:function(m,l){for(var k in l){if(l.hasOwnProperty(k)){m[k]=l[k]}}},escapeExpression:function(k){if(k instanceof c.SafeString){return k.toString()}else{if(k==null||k===false){return""}}k=k.toString();if(!g.test(k)){return k}return k.replace(a,j)},isEmpty:function(k){if(!k&&k!==0){return true}else{if(d.call(k)==="[object Array]"&&k.length===0){return true}else{return false}}}};c.VM={template:function(k){var l={escapeExpression:c.Utils.escapeExpression,invokePartial:c.VM.invokePartial,programs:[],program:function(n,o,p){var m=this.programs[n];if(p){m=c.VM.program(n,o,p)}else{if(!m){m=this.programs[n]=c.VM.program(n,o)}}return m},merge:function(o,n){var m=o||n;if(o&&n){m={};c.Utils.extend(m,n);c.Utils.extend(m,o)}return m},programWithDepth:c.VM.programWithDepth,noop:c.VM.noop,compilerInfo:null};return function(q,p){p=p||{};var n=k.call(l,c,q,p.helpers,p.partials,p.data);var r=l.compilerInfo||[],o=r[0]||1,t=c.COMPILER_REVISION;if(o!==t){if(o<t){var m=c.REVISION_CHANGES[t],s=c.REVISION_CHANGES[o];throw"Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+m+") or downgrade your runtime to an older version ("+s+")."}else{throw"Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+r[1]+")."}}return n}},programWithDepth:function(m,n,o){var l=Array.prototype.slice.call(arguments,3);var k=function(q,p){p=p||{};return n.apply(this,[q,p.data||o].concat(l))};k.program=m;k.depth=l.length;return k},program:function(l,m,n){var k=function(p,o){o=o||{};return m(p,o.data||n)};k.program=l;k.depth=0;return k},noop:function(){return""},invokePartial:function(k,m,o,p,n,q){var l={helpers:p,partials:n,data:q};if(k===e){throw new c.Exception("The partial "+m+" could not be found")}else{if(k instanceof Function){return k(o,l)}else{if(!c.compile){throw new c.Exception("The partial "+m+" could not be compiled when running in runtime-only mode")}else{n[m]=c.compile(k,{data:q!==e});return n[m](o,l)}}}}};c.template=c.VM.template})(Handlebars); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/helpers-common-templates.js --- a/static/scripts/packed/templates/compiled/helpers-common-templates.js +++ b/static/scripts/packed/templates/compiled/helpers-common-templates.js @@ -1,1 +1,1 @@ -Handlebars.registerPartial("clearFloatDiv",function(a){return'<div class="clear"></div>'});Handlebars.registerHelper("warningmessagesmall",function(a){return'<div class="warningmessagesmall"><strong>'+a.fn(this)+"</strong></div>"});Handlebars.registerHelper("local",function(a){return _l(a.fn(this))});Handlebars.registerPartial("iconButton",function(c,b){var a="";a+=(c.enabled)?("<a"):("<span");if(c.title){a+=' title="'+c.title+'"'}a+=' class="icon-button';if(c.isMenuButton){a+=" menu-button"}if(c.title){a+=" tooltip"}a+=" "+c.icon_class;if(!c.enabled){a+="_disabled"}a+='"';if(c.id){a+=' id="'+c.id+'"'}a+=' href="'+((c.href)?(c.href):("javascript:void(0);"))+'"';if(c.target){a+=' target="'+c.target+'"'}if(!c.visible){a+=' style="display: none;"'}a+=">"+((c.enabled)?("</a>"):("</span>"));return a}); \ No newline at end of file +Handlebars.registerPartial("clearFloatDiv",function(a){return'<div class="clear"></div>'});Handlebars.registerHelper("warningmessagesmall",function(a){return'<div class="warningmessagesmall"><strong>'+a.fn(this)+"</strong></div>"});Handlebars.registerHelper("local",function(a){return _l(a.fn(this))}); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/panel_section.js --- a/static/scripts/packed/templates/compiled/panel_section.js +++ b/static/scripts/packed/templates/compiled/panel_section.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.panel_section=b(function(e,k,d,j,i){this.compilerInfo=[2,">= 1.0.0-rc.3"];d=d||e.helpers;i=i||{};var g="",c,f="function",h=this.escapeExpression;g+='<div class="toolSectionTitle" id="title_';if(c=d.id){c=c.call(k,{hash:{},data:i})}else{c=k.id;c=typeof c===f?c.apply(k):c}g+=h(c)+'">\n <a href="javascript:void(0)"><span>';if(c=d.name){c=c.call(k,{hash:{},data:i})}else{c=k.name;c=typeof c===f?c.apply(k):c}g+=h(c)+'</span></a>\n</div>\n<div id="';if(c=d.id){c=c.call(k,{hash:{},data:i})}else{c=k.id;c=typeof c===f?c.apply(k):c}g+=h(c)+'" class="toolSectionBody" style="display: none; ">\n <div class="toolSectionBg"></div>\n<div>';return g})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.panel_section=b(function(e,k,d,j,i){this.compilerInfo=[4,">= 1.0.0"];d=this.merge(d,e.helpers);i=i||{};var g="",c,f="function",h=this.escapeExpression;g+='<div class="toolSectionTitle" id="title_';if(c=d.id){c=c.call(k,{hash:{},data:i})}else{c=k.id;c=typeof c===f?c.apply(k):c}g+=h(c)+'">\n <a href="javascript:void(0)"><span>';if(c=d.name){c=c.call(k,{hash:{},data:i})}else{c=k.name;c=typeof c===f?c.apply(k):c}g+=h(c)+'</span></a>\n</div>\n<div id="';if(c=d.id){c=c.call(k,{hash:{},data:i})}else{c=k.id;c=typeof c===f?c.apply(k):c}g+=h(c)+'" class="toolSectionBody" style="display: none; ">\n <div class="toolSectionBg"></div>\n<div>';return g})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-hda-annotationArea.js --- a/static/scripts/packed/templates/compiled/template-hda-annotationArea.js +++ b/static/scripts/packed/templates/compiled/template-hda-annotationArea.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-annotationArea"]=b(function(g,q,f,o,n){f=f||g.helpers;var l="",d,k,j,s=this,h="function",p=f.helperMissing,i=void 0,m=this.escapeExpression,r=f.blockHelperMissing;function e(u,t){return"Annotation"}function c(u,t){return"Edit dataset annotation"}l+='\n<div id="';k=f.id;d=k||q.id;if(typeof d===h){d=d.call(q,{hash:{}})}else{if(d===i){d=p.call(q,"id",{hash:{}})}}l+=m(d)+'-annotation-area" class="annotation-area" style="display: none;">\n <strong>';k=f.local;d=k||q.local;j=s.program(1,e,n);j.hash={};j.fn=j;j.inverse=s.noop;if(k&&typeof d===h){d=d.call(q,j)}else{d=r.call(q,d,j)}if(d||d===0){l+=d}l+=':</strong>\n <div id="';k=f.id;d=k||q.id;if(typeof d===h){d=d.call(q,{hash:{}})}else{if(d===i){d=p.call(q,"id",{hash:{}})}}l+=m(d)+'-anotation-elt" class="annotation-elt tooltip editable-text"\n style="margin: 1px 0px 1px 0px" title="';k=f.local;d=k||q.local;j=s.program(3,c,n);j.hash={};j.fn=j;j.inverse=s.noop;if(k&&typeof d===h){d=d.call(q,j)}else{d=r.call(q,d,j)}if(d||d===0){l+=d}l+='">\n </div>\n</div>';return l})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-annotationArea"]=b(function(g,m,f,l,k){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);k=k||{};var i="",d,p,h="function",j=this.escapeExpression,o=this,n=f.blockHelperMissing;function e(r,q){return"Annotation"}function c(r,q){return"Edit dataset annotation"}i+='\n<div id="';if(d=f.id){d=d.call(m,{hash:{},data:k})}else{d=m.id;d=typeof d===h?d.apply(m):d}i+=j(d)+'-annotation-area" class="annotation-area" style="display: none;">\n <strong>';p={hash:{},inverse:o.noop,fn:o.program(1,e,k),data:k};if(d=f.local){d=d.call(m,p)}else{d=m.local;d=typeof d===h?d.apply(m):d}if(!f.local){d=n.call(m,d,p)}if(d||d===0){i+=d}i+=':</strong>\n <div id="';if(d=f.id){d=d.call(m,{hash:{},data:k})}else{d=m.id;d=typeof d===h?d.apply(m):d}i+=j(d)+'-anotation-elt" class="annotation-elt tooltip editable-text"\n style="margin: 1px 0px 1px 0px" title="';p={hash:{},inverse:o.noop,fn:o.program(3,c,k),data:k};if(d=f.local){d=d.call(m,p)}else{d=m.local;d=typeof d===h?d.apply(m):d}if(!f.local){d=n.call(m,d,p)}if(d||d===0){i+=d}i+='">\n </div>\n</div>';return i})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-hda-displayApps.js --- a/static/scripts/packed/templates/compiled/template-hda-displayApps.js +++ b/static/scripts/packed/templates/compiled/template-hda-displayApps.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-displayApps"]=b(function(h,s,r,k,t){r=r||h.helpers;var j,g,i,p,o=this,f="function",q=r.helperMissing,d=void 0,e=this.escapeExpression,c=r.blockHelperMissing;function n(y,x){var u="",w,v;u+="\n ";i=r.label;w=i||y.label;if(typeof w===f){w=w.call(y,{hash:{}})}else{if(w===d){w=q.call(y,"label",{hash:{}})}}u+=e(w)+"\n ";i=r.links;w=i||y.links;v=r.each;p=o.program(2,m,x);p.hash={};p.fn=p;p.inverse=o.noop;w=v.call(y,w,p);if(w||w===0){u+=w}u+="\n <br />\n";return u}function m(x,w){var u="",v;u+='\n <a target="';i=r.target;v=i||x.target;if(typeof v===f){v=v.call(x,{hash:{}})}else{if(v===d){v=q.call(x,"target",{hash:{}})}}u+=e(v)+'" href="';i=r.href;v=i||x.href;if(typeof v===f){v=v.call(x,{hash:{}})}else{if(v===d){v=q.call(x,"href",{hash:{}})}}u+=e(v)+'">';i=r.local;v=i||x.local;p=o.program(3,l,w);p.hash={};p.fn=p;p.inverse=o.noop;if(i&&typeof v===f){v=v.call(x,p)}else{v=c.call(x,v,p)}if(v||v===0){u+=v}u+="</a>\n ";return u}function l(w,v){var u;i=r.text;u=i||w.text;if(typeof u===f){u=u.call(w,{hash:{}})}else{if(u===d){u=q.call(w,"text",{hash:{}})}}return e(u)}i=r.displayApps;j=i||s.displayApps;g=r.each;p=o.program(1,n,t);p.hash={};p.fn=p;p.inverse=o.noop;j=g.call(s,j,p);if(j||j===0){return j}else{return""}})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-displayApps"]=b(function(h,m,g,l,k){this.compilerInfo=[4,">= 1.0.0"];g=this.merge(g,h.helpers);k=k||{};var d,i="function",j=this.escapeExpression,o=this,n=g.blockHelperMissing;function f(s,r){var p="",q;p+="\n ";if(q=g.label){q=q.call(s,{hash:{},data:r})}else{q=s.label;q=typeof q===i?q.apply(s):q}p+=j(q)+"\n ";q=g.each.call(s,s.links,{hash:{},inverse:o.noop,fn:o.program(2,e,r),data:r});if(q||q===0){p+=q}p+="\n <br />\n";return p}function e(t,s){var p="",r,q;p+='\n <a target="';if(r=g.target){r=r.call(t,{hash:{},data:s})}else{r=t.target;r=typeof r===i?r.apply(t):r}p+=j(r)+'" href="';if(r=g.href){r=r.call(t,{hash:{},data:s})}else{r=t.href;r=typeof r===i?r.apply(t):r}p+=j(r)+'">';q={hash:{},inverse:o.noop,fn:o.program(3,c,s),data:s};if(r=g.local){r=r.call(t,q)}else{r=t.local;r=typeof r===i?r.apply(t):r}if(!g.local){r=n.call(t,r,q)}if(r||r===0){p+=r}p+="</a>\n ";return p}function c(r,q){var p;if(p=g.text){p=p.call(r,{hash:{},data:q})}else{p=r.text;p=typeof p===i?p.apply(r):p}return j(p)}d=g.each.call(m,m.displayApps,{hash:{},inverse:o.noop,fn:o.program(1,f,k),data:k});if(d||d===0){return d}else{return""}})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-hda-downloadLinks.js --- a/static/scripts/packed/templates/compiled/template-hda-downloadLinks.js +++ b/static/scripts/packed/templates/compiled/template-hda-downloadLinks.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-downloadLinks"]=b(function(i,v,u,n,y){u=u||i.helpers;var k,h,j,s,r=this,f="function",t=u.helperMissing,d=void 0,e=this.escapeExpression,c=u.blockHelperMissing;function q(D,C){var z="",B,A;z+='\n<div popupmenu="dataset-';j=u.id;B=j||D.id;if(typeof B===f){B=B.call(D,{hash:{}})}else{if(B===d){B=t.call(D,"id",{hash:{}})}}z+=e(B)+'-popup">\n <a class="action-button" href="';j=u.urls;B=j||D.urls;B=(B===null||B===undefined||B===false?B:B.download);if(typeof B===f){B=B.call(D,{hash:{}})}else{if(B===d){B=t.call(D,"urls.download",{hash:{}})}}z+=e(B)+'">';j=u.local;B=j||D.local;s=r.program(2,p,C);s.hash={};s.fn=s;s.inverse=r.noop;if(j&&typeof B===f){B=B.call(D,s)}else{B=c.call(D,B,s)}if(B||B===0){z+=B}z+="</a>\n <a>";j=u.local;B=j||D.local;s=r.program(4,o,C);s.hash={};s.fn=s;s.inverse=r.noop;if(j&&typeof B===f){B=B.call(D,s)}else{B=c.call(D,B,s)}if(B||B===0){z+=B}z+="</a>\n ";j=u.urls;B=j||D.urls;B=(B===null||B===undefined||B===false?B:B.meta_download);A=u.each;s=r.program(6,m,C);s.hash={};s.fn=s;s.inverse=r.noop;B=A.call(D,B,s);if(B||B===0){z+=B}z+='\n</div>\n<div style="float:left;" class="menubutton split popup" id="dataset-';j=u.id;B=j||D.id;if(typeof B===f){B=B.call(D,{hash:{}})}else{if(B===d){B=t.call(D,"id",{hash:{}})}}z+=e(B)+'-popup">\n <a href="';j=u.urls;B=j||D.urls;B=(B===null||B===undefined||B===false?B:B.download);if(typeof B===f){B=B.call(D,{hash:{}})}else{if(B===d){B=t.call(D,"urls.download",{hash:{}})}}z+=e(B)+'" title="';j=u.local;B=j||D.local;s=r.program(9,g,C);s.hash={};s.fn=s;s.inverse=r.noop;if(j&&typeof B===f){B=B.call(D,s)}else{B=c.call(D,B,s)}if(B||B===0){z+=B}z+='" class="icon-button disk tooltip"></a>\n</div>\n';return z}function p(A,z){return"Download Dataset"}function o(A,z){return"Additional Files"}function m(C,B){var z="",A;z+='\n <a class="action-button" href="';j=u.url;A=j||C.url;if(typeof A===f){A=A.call(C,{hash:{}})}else{if(A===d){A=t.call(C,"url",{hash:{}})}}z+=e(A)+'">';j=u.local;A=j||C.local;s=r.program(7,l,B);s.hash={};s.fn=s;s.inverse=r.noop;if(j&&typeof A===f){A=A.call(C,s)}else{A=c.call(C,A,s)}if(A||A===0){z+=A}z+=" ";j=u.file_type;A=j||C.file_type;if(typeof A===f){A=A.call(C,{hash:{}})}else{if(A===d){A=t.call(C,"file_type",{hash:{}})}}z+=e(A)+"</a>\n ";return z}function l(A,z){return"Download"}function g(A,z){return"Download"}function x(C,B){var z="",A;z+="\n";z+='\n<a href="';j=u.urls;A=j||C.urls;A=(A===null||A===undefined||A===false?A:A.download);if(typeof A===f){A=A.call(C,{hash:{}})}else{if(A===d){A=t.call(C,"urls.download",{hash:{}})}}z+=e(A)+'" title="';j=u.local;A=j||C.local;s=r.program(12,w,B);s.hash={};s.fn=s;s.inverse=r.noop;if(j&&typeof A===f){A=A.call(C,s)}else{A=c.call(C,A,s)}if(A||A===0){z+=A}z+='" class="icon-button disk tooltip"></a>\n';return z}function w(A,z){return"Download"}j=u.urls;k=j||v.urls;k=(k===null||k===undefined||k===false?k:k.meta_download);h=u["if"];s=r.program(1,q,y);s.hash={};s.fn=s;s.inverse=r.program(11,x,y);k=h.call(v,k,s);if(k||k===0){return k}else{return""}})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-downloadLinks"]=b(function(g,l,f,k,j){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);j=j||{};var c,s,h="function",i=this.escapeExpression,q=this,m=f.blockHelperMissing;function e(y,x){var t="",w,v,u;t+='\n<div popupmenu="dataset-';if(w=f.id){w=w.call(y,{hash:{},data:x})}else{w=y.id;w=typeof w===h?w.apply(y):w}t+=i(w)+'-popup">\n <a class="action-button" href="'+i(((w=((w=y.urls),w==null||w===false?w:w.download)),typeof w===h?w.apply(y):w))+'">';u={hash:{},inverse:q.noop,fn:q.program(2,d,x),data:x};if(v=f.local){v=v.call(y,u)}else{v=y.local;v=typeof v===h?v.apply(y):v}if(!f.local){v=m.call(y,v,u)}if(v||v===0){t+=v}t+="</a>\n <a>";u={hash:{},inverse:q.noop,fn:q.program(4,r,x),data:x};if(v=f.local){v=v.call(y,u)}else{v=y.local;v=typeof v===h?v.apply(y):v}if(!f.local){v=m.call(y,v,u)}if(v||v===0){t+=v}t+="</a>\n ";v=f.each.call(y,((w=y.urls),w==null||w===false?w:w.meta_download),{hash:{},inverse:q.noop,fn:q.program(6,p,x),data:x});if(v||v===0){t+=v}t+='\n</div>\n<div style="float:left;" class="menubutton split popup" id="dataset-';if(v=f.id){v=v.call(y,{hash:{},data:x})}else{v=y.id;v=typeof v===h?v.apply(y):v}t+=i(v)+'-popup">\n <a href="'+i(((w=((w=y.urls),w==null||w===false?w:w.download)),typeof w===h?w.apply(y):w))+'" title="';u={hash:{},inverse:q.noop,fn:q.program(7,o,x),data:x};if(v=f.local){v=v.call(y,u)}else{v=y.local;v=typeof v===h?v.apply(y):v}if(!f.local){v=m.call(y,v,u)}if(v||v===0){t+=v}t+='" class="icon-button disk tooltip"></a>\n</div>\n';return t}function d(u,t){return"Download Dataset"}function r(u,t){return"Additional Files"}function p(x,w){var t="",v,u;t+='\n <a class="action-button" href="';if(v=f.url){v=v.call(x,{hash:{},data:w})}else{v=x.url;v=typeof v===h?v.apply(x):v}t+=i(v)+'">';u={hash:{},inverse:q.noop,fn:q.program(7,o,w),data:w};if(v=f.local){v=v.call(x,u)}else{v=x.local;v=typeof v===h?v.apply(x):v}if(!f.local){v=m.call(x,v,u)}if(v||v===0){t+=v}t+=" ";if(v=f.file_type){v=v.call(x,{hash:{},data:w})}else{v=x.file_type;v=typeof v===h?v.apply(x):v}t+=i(v)+"</a>\n ";return t}function o(u,t){return"Download"}function n(y,x){var t="",w,v,u;t+='\n\n<a href="'+i(((w=((w=y.urls),w==null||w===false?w:w.download)),typeof w===h?w.apply(y):w))+'" title="';u={hash:{},inverse:q.noop,fn:q.program(7,o,x),data:x};if(v=f.local){v=v.call(y,u)}else{v=y.local;v=typeof v===h?v.apply(y):v}if(!f.local){v=m.call(y,v,u)}if(v||v===0){t+=v}t+='" class="icon-button disk tooltip"></a>\n';return t}s=f["if"].call(l,((c=l.urls),c==null||c===false?c:c.meta_download),{hash:{},inverse:q.program(9,n,j),fn:q.program(1,e,j),data:j});if(s||s===0){return s}else{return""}})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-hda-failedMetadata.js --- a/static/scripts/packed/templates/compiled/template-hda-failedMetadata.js +++ b/static/scripts/packed/templates/compiled/template-hda-failedMetadata.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-failedMetadata"]=b(function(g,p,f,n,m){f=f||g.helpers;var c,k,j,r=this,h="function",q=f.blockHelperMissing,o=f.helperMissing,i=void 0,l=this.escapeExpression;function e(v,u){var s="",t;s+="\n";k=f.local;t=k||v.local;j=r.program(2,d,u);j.hash={};j.fn=j;j.inverse=r.noop;if(k&&typeof t===h){t=t.call(v,j)}else{t=q.call(v,t,j)}if(t||t===0){s+=t}s+='\nYou may be able to <a href="';k=f.urls;t=k||v.urls;t=(t===null||t===undefined||t===false?t:t.edit);if(typeof t===h){t=t.call(v,{hash:{}})}else{if(t===i){t=o.call(v,"urls.edit",{hash:{}})}}s+=l(t)+'" target="galaxy_main">set it manually or retry auto-detection</a>.\n';return s}function d(t,s){return"An error occurred setting the metadata for this dataset."}k=f.warningmessagesmall;c=k||p.warningmessagesmall;j=r.program(1,e,m);j.hash={};j.fn=j;j.inverse=r.noop;if(k&&typeof c===h){c=c.call(p,j)}else{c=q.call(p,c,j)}if(c||c===0){return c}else{return""}})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-failedMetadata"]=b(function(g,l,f,k,j){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);j=j||{};var c,o,n=this,h="function",m=f.blockHelperMissing,i=this.escapeExpression;function e(t,s){var p="",r,q;p+="\n";q={hash:{},inverse:n.noop,fn:n.program(2,d,s),data:s};if(r=f.local){r=r.call(t,q)}else{r=t.local;r=typeof r===h?r.apply(t):r}if(!f.local){r=m.call(t,r,q)}if(r||r===0){p+=r}p+='\nYou may be able to <a href="'+i(((r=((r=t.urls),r==null||r===false?r:r.edit)),typeof r===h?r.apply(t):r))+'" target="galaxy_main">set it manually or retry auto-detection</a>.\n';return p}function d(q,p){return"An error occurred setting the metadata for this dataset."}o={hash:{},inverse:n.noop,fn:n.program(1,e,j),data:j};if(c=f.warningmessagesmall){c=c.call(l,o)}else{c=l.warningmessagesmall;c=typeof c===h?c.apply(l):c}if(!f.warningmessagesmall){c=m.call(l,c,o)}if(c||c===0){return c}else{return""}})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-hda-hdaSummary.js --- a/static/scripts/packed/templates/compiled/template-hda-hdaSummary.js +++ b/static/scripts/packed/templates/compiled/template-hda-hdaSummary.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-hdaSummary"]=b(function(i,v,t,n,w){t=t||i.helpers;var u="",k,h,j,r,q=this,f="function",s=t.helperMissing,d=void 0,e=this.escapeExpression,c=t.blockHelperMissing;function p(y,x){return"format: "}function o(y,x){return"database: "}function m(A,z){var x="",y;x+='\n <a class="metadata-dbkey" href="';j=t.urls;y=j||A.urls;y=(y===null||y===undefined||y===false?y:y.edit);if(typeof y===f){y=y.call(A,{hash:{}})}else{if(y===d){y=s.call(A,"urls.edit",{hash:{}})}}x+=e(y)+'" target="galaxy_main">';j=t.metadata_dbkey;y=j||A.metadata_dbkey;if(typeof y===f){y=y.call(A,{hash:{}})}else{if(y===d){y=s.call(A,"metadata_dbkey",{hash:{}})}}x+=e(y)+"</a>\n ";return x}function l(A,z){var x="",y;x+='\n <span class="metadata-dbkey ';j=t.metadata_dbkey;y=j||A.metadata_dbkey;if(typeof y===f){y=y.call(A,{hash:{}})}else{if(y===d){y=s.call(A,"metadata_dbkey",{hash:{}})}}x+=e(y)+'">';j=t.metadata_dbkey;y=j||A.metadata_dbkey;if(typeof y===f){y=y.call(A,{hash:{}})}else{if(y===d){y=s.call(A,"metadata_dbkey",{hash:{}})}}x+=e(y)+"</span>\n ";return x}function g(A,z){var x="",y;x+='\n<div class="hda-info"> ';j=t.misc_info;y=j||A.misc_info;if(typeof y===f){y=y.call(A,{hash:{}})}else{if(y===d){y=s.call(A,"misc_info",{hash:{}})}}x+=e(y)+" </div>\n";return x}u+='<div class="hda-summary">\n ';j=t.misc_blurb;k=j||v.misc_blurb;if(typeof k===f){k=k.call(v,{hash:{}})}else{if(k===d){k=s.call(v,"misc_blurb",{hash:{}})}}u+=e(k)+"<br />\n ";j=t.local;k=j||v.local;r=q.program(1,p,w);r.hash={};r.fn=r;r.inverse=q.noop;if(j&&typeof k===f){k=k.call(v,r)}else{k=c.call(v,k,r)}if(k||k===0){u+=k}u+='<span class="';j=t.data_type;k=j||v.data_type;if(typeof k===f){k=k.call(v,{hash:{}})}else{if(k===d){k=s.call(v,"data_type",{hash:{}})}}u+=e(k)+'">';j=t.data_type;k=j||v.data_type;if(typeof k===f){k=k.call(v,{hash:{}})}else{if(k===d){k=s.call(v,"data_type",{hash:{}})}}u+=e(k)+"</span>,\n ";j=t.local;k=j||v.local;r=q.program(3,o,w);r.hash={};r.fn=r;r.inverse=q.noop;if(j&&typeof k===f){k=k.call(v,r)}else{k=c.call(v,k,r)}if(k||k===0){u+=k}u+="\n ";j=t.dbkey_unknown_and_editable;k=j||v.dbkey_unknown_and_editable;h=t["if"];r=q.program(5,m,w);r.hash={};r.fn=r;r.inverse=q.program(7,l,w);k=h.call(v,k,r);if(k||k===0){u+=k}u+="\n</div>\n";j=t.misc_info;k=j||v.misc_info;h=t["if"];r=q.program(9,g,w);r.hash={};r.fn=r;r.inverse=q.noop;k=h.call(v,k,r);if(k||k===0){u+=k}return u})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-hdaSummary"]=b(function(g,m,f,l,k){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);k=k||{};var i="",d,s,h="function",j=this.escapeExpression,r=this,n=f.blockHelperMissing;function e(u,t){return"format: "}function c(u,t){return"database: "}function q(x,w){var t="",v,u;t+='\n <a class="metadata-dbkey" href="'+j(((v=((v=x.urls),v==null||v===false?v:v.edit)),typeof v===h?v.apply(x):v))+'" target="galaxy_main">';if(u=f.metadata_dbkey){u=u.call(x,{hash:{},data:w})}else{u=x.metadata_dbkey;u=typeof u===h?u.apply(x):u}t+=j(u)+"</a>\n ";return t}function p(w,v){var t="",u;t+='\n <span class="metadata-dbkey ';if(u=f.metadata_dbkey){u=u.call(w,{hash:{},data:v})}else{u=w.metadata_dbkey;u=typeof u===h?u.apply(w):u}t+=j(u)+'">';if(u=f.metadata_dbkey){u=u.call(w,{hash:{},data:v})}else{u=w.metadata_dbkey;u=typeof u===h?u.apply(w):u}t+=j(u)+"</span>\n ";return t}function o(w,v){var t="",u;t+='\n<div class="hda-info"> ';if(u=f.misc_info){u=u.call(w,{hash:{},data:v})}else{u=w.misc_info;u=typeof u===h?u.apply(w):u}t+=j(u)+" </div>\n";return t}i+='<div class="hda-summary">\n ';if(d=f.misc_blurb){d=d.call(m,{hash:{},data:k})}else{d=m.misc_blurb;d=typeof d===h?d.apply(m):d}i+=j(d)+"<br />\n ";s={hash:{},inverse:r.noop,fn:r.program(1,e,k),data:k};if(d=f.local){d=d.call(m,s)}else{d=m.local;d=typeof d===h?d.apply(m):d}if(!f.local){d=n.call(m,d,s)}if(d||d===0){i+=d}i+='<span class="';if(d=f.data_type){d=d.call(m,{hash:{},data:k})}else{d=m.data_type;d=typeof d===h?d.apply(m):d}i+=j(d)+'">';if(d=f.data_type){d=d.call(m,{hash:{},data:k})}else{d=m.data_type;d=typeof d===h?d.apply(m):d}i+=j(d)+"</span>,\n ";s={hash:{},inverse:r.noop,fn:r.program(3,c,k),data:k};if(d=f.local){d=d.call(m,s)}else{d=m.local;d=typeof d===h?d.apply(m):d}if(!f.local){d=n.call(m,d,s)}if(d||d===0){i+=d}i+="\n ";d=f["if"].call(m,m.dbkey_unknown_and_editable,{hash:{},inverse:r.program(7,p,k),fn:r.program(5,q,k),data:k});if(d||d===0){i+=d}i+="\n</div>\n";d=f["if"].call(m,m.misc_info,{hash:{},inverse:r.noop,fn:r.program(9,o,k),data:k});if(d||d===0){i+=d}return i})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-hda-tagArea.js --- a/static/scripts/packed/templates/compiled/template-hda-tagArea.js +++ b/static/scripts/packed/templates/compiled/template-hda-tagArea.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-tagArea"]=b(function(f,m,e,l,k){e=e||f.helpers;var j="",c,i,h,o=this,g="function",n=e.blockHelperMissing;function d(q,p){return"Tags"}j+='\n<div class="tag-area" style="display: none;">\n <strong>';i=e.local;c=i||m.local;h=o.program(1,d,k);h.hash={};h.fn=h;h.inverse=o.noop;if(i&&typeof c===g){c=c.call(m,h)}else{c=n.call(m,c,h)}if(c||c===0){j+=c}j+=':</strong>\n <div class="tag-elt">\n </div>\n</div>';return j})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-tagArea"]=b(function(f,k,e,j,i){this.compilerInfo=[4,">= 1.0.0"];e=this.merge(e,f.helpers);i=i||{};var h="",c,n,m=this,g="function",l=e.blockHelperMissing;function d(p,o){return"Tags"}h+='\n<div class="tag-area" style="display: none;">\n <strong>';n={hash:{},inverse:m.noop,fn:m.program(1,d,i),data:i};if(c=e.local){c=c.call(k,n)}else{c=k.local;c=typeof c===g?c.apply(k):c}if(!e.local){c=l.call(k,c,n)}if(c||c===0){h+=c}h+=':</strong>\n <div class="tag-elt">\n </div>\n</div>';return h})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-hda-titleLink.js --- a/static/scripts/packed/templates/compiled/template-hda-titleLink.js +++ b/static/scripts/packed/templates/compiled/template-hda-titleLink.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-titleLink"]=b(function(e,n,d,l,k){d=d||e.helpers;var i="",c,h,o=this,f="function",m=d.helperMissing,g=void 0,j=this.escapeExpression;i+='<span class="historyItemTitle">';h=d.hid;c=h||n.hid;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"hid",{hash:{}})}}i+=j(c)+": ";h=d.name;c=h||n.name;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"name",{hash:{}})}}i+=j(c)+"</span>";return i})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-titleLink"]=b(function(e,k,d,j,i){this.compilerInfo=[4,">= 1.0.0"];d=this.merge(d,e.helpers);i=i||{};var g="",c,f="function",h=this.escapeExpression;g+='<span class="historyItemTitle">';if(c=d.hid){c=c.call(k,{hash:{},data:i})}else{c=k.hid;c=typeof c===f?c.apply(k):c}g+=h(c)+": ";if(c=d.name){c=c.call(k,{hash:{},data:i})}else{c=k.name;c=typeof c===f?c.apply(k):c}g+=h(c)+"</span>";return g})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-hda-warning-messages.js --- a/static/scripts/packed/templates/compiled/template-hda-warning-messages.js +++ b/static/scripts/packed/templates/compiled/template-hda-warning-messages.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-warning-messages"]=b(function(j,z,x,q,H){x=x||j.helpers;var y="",m,i,l,v,u=this,f="function",w=x.helperMissing,d=void 0,e=this.escapeExpression,c=x.blockHelperMissing;function t(L,K){var I="",J;I+='\n<div class="errormessagesmall">\n ';l=x.local;J=l||L.local;v=u.program(2,s,K);v.hash={};v.fn=v;v.inverse=u.noop;if(l&&typeof J===f){J=J.call(L,v)}else{J=c.call(L,J,v)}if(J||J===0){I+=J}I+=":\n ";l=x.local;J=l||L.local;v=u.program(4,r,K);v.hash={};v.fn=v;v.inverse=u.noop;if(l&&typeof J===f){J=J.call(L,v)}else{J=c.call(L,J,v)}if(J||J===0){I+=J}I+="\n</div>\n";return I}function s(J,I){return"There was an error getting the data for this dataset"}function r(K,J){var I;l=x.error;I=l||K.error;if(typeof I===f){I=I.call(K,{hash:{}})}else{if(I===d){I=w.call(K,"error",{hash:{}})}}return e(I)}function p(L,K){var J,I;l=x.purged;J=l||L.purged;I=x.unless;v=u.program(7,o,K);v.hash={};v.fn=v;v.inverse=u.noop;J=I.call(L,J,v);if(J||J===0){return J}else{return""}}function o(L,K){var I="",J;I+="\n";l=x.warningmessagesmall;J=l||L.warningmessagesmall;v=u.program(8,k,K);v.hash={};v.fn=v;v.inverse=u.noop;if(l&&typeof J===f){J=J.call(L,v)}else{J=c.call(L,J,v)}if(J||J===0){I+=J}I+="\n";return I}function k(M,L){var I="",K,J;I+="\n ";l=x.local;K=l||M.local;v=u.program(9,h,L);v.hash={};v.fn=v;v.inverse=u.noop;if(l&&typeof K===f){K=K.call(M,v)}else{K=c.call(M,K,v)}if(K||K===0){I+=K}I+="\n ";l=x.urls;K=l||M.urls;K=(K===null||K===undefined||K===false?K:K.undelete);J=x["if"];v=u.program(11,G,L);v.hash={};v.fn=v;v.inverse=u.noop;K=J.call(M,K,v);if(K||K===0){I+=K}I+="\n";return I}function h(J,I){return"This dataset has been deleted."}function G(M,L){var I="",K,J;I+="\n ";I+='\n Click <a href="';l=x.urls;K=l||M.urls;K=(K===null||K===undefined||K===false?K:K.undelete);if(typeof K===f){K=K.call(M,{hash:{}})}else{if(K===d){K=w.call(M,"urls.undelete",{hash:{}})}}I+=e(K)+'" class="historyItemUndelete" id="historyItemUndeleter-';l=x.id;K=l||M.id;if(typeof K===f){K=K.call(M,{hash:{}})}else{if(K===d){K=w.call(M,"id",{hash:{}})}}I+=e(K)+'"\n target="galaxy_history">here</a> to undelete it\n ';l=x.urls;K=l||M.urls;K=(K===null||K===undefined||K===false?K:K.purge);J=x["if"];v=u.program(12,F,L);v.hash={};v.fn=v;v.inverse=u.noop;K=J.call(M,K,v);if(K||K===0){I+=K}I+="\n ";return I}function F(L,K){var I="",J;I+='\n or <a href="';l=x.urls;J=l||L.urls;J=(J===null||J===undefined||J===false?J:J.purge);if(typeof J===f){J=J.call(L,{hash:{}})}else{if(J===d){J=w.call(L,"urls.purge",{hash:{}})}}I+=e(J)+'" class="historyItemPurge" id="historyItemPurger-';l=x.id;J=l||L.id;if(typeof J===f){J=J.call(L,{hash:{}})}else{if(J===d){J=w.call(L,"id",{hash:{}})}}I+=e(J)+'"\n target="galaxy_history">here</a> to immediately remove it from disk\n ';return I}function E(K,J){var I;l=x.warningmessagesmall;I=l||K.warningmessagesmall;v=u.program(15,D,J);v.hash={};v.fn=v;v.inverse=u.noop;if(l&&typeof I===f){I=I.call(K,v)}else{I=c.call(K,I,v)}if(I||I===0){return I}else{return""}}function D(L,K){var I="",J;I+="\n ";l=x.local;J=l||L.local;v=u.program(16,C,K);v.hash={};v.fn=v;v.inverse=u.noop;if(l&&typeof J===f){J=J.call(L,v)}else{J=c.call(L,J,v)}if(J||J===0){I+=J}I+="\n";return I}function C(J,I){return"This dataset has been deleted and removed from disk."}function B(K,J){var I;l=x.warningmessagesmall;I=l||K.warningmessagesmall;v=u.program(19,A,J);v.hash={};v.fn=v;v.inverse=u.noop;if(l&&typeof I===f){I=I.call(K,v)}else{I=c.call(K,I,v)}if(I||I===0){return I}else{return""}}function A(M,L){var I="",K,J;I+="\n ";l=x.local;K=l||M.local;v=u.program(20,n,L);v.hash={};v.fn=v;v.inverse=u.noop;if(l&&typeof K===f){K=K.call(M,v)}else{K=c.call(M,K,v)}if(K||K===0){I+=K}I+="\n ";l=x.urls;K=l||M.urls;K=(K===null||K===undefined||K===false?K:K.unhide);J=x["if"];v=u.program(22,g,L);v.hash={};v.fn=v;v.inverse=u.noop;K=J.call(M,K,v);if(K||K===0){I+=K}I+="\n";return I}function n(J,I){return"This dataset has been hidden."}function g(L,K){var I="",J;I+='\n Click <a href="';l=x.urls;J=l||L.urls;J=(J===null||J===undefined||J===false?J:J.unhide);if(typeof J===f){J=J.call(L,{hash:{}})}else{if(J===d){J=w.call(L,"urls.unhide",{hash:{}})}}I+=e(J)+'" class="historyItemUnhide" id="historyItemUnhider-';l=x.id;J=l||L.id;if(typeof J===f){J=J.call(L,{hash:{}})}else{if(J===d){J=w.call(L,"id",{hash:{}})}}I+=e(J)+'"\n target="galaxy_history">here</a> to unhide it\n ';return I}l=x.error;m=l||z.error;i=x["if"];v=u.program(1,t,H);v.hash={};v.fn=v;v.inverse=u.noop;m=i.call(z,m,v);if(m||m===0){y+=m}y+="\n\n";l=x.deleted;m=l||z.deleted;i=x["if"];v=u.program(6,p,H);v.hash={};v.fn=v;v.inverse=u.noop;m=i.call(z,m,v);if(m||m===0){y+=m}y+="\n\n";l=x.purged;m=l||z.purged;i=x["if"];v=u.program(14,E,H);v.hash={};v.fn=v;v.inverse=u.noop;m=i.call(z,m,v);if(m||m===0){y+=m}y+="\n\n";l=x.visible;m=l||z.visible;i=x.unless;v=u.program(18,B,H);v.hash={};v.fn=v;v.inverse=u.noop;m=i.call(z,m,v);if(m||m===0){y+=m}return y})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-hda-warning-messages"]=b(function(h,u,s,n,C){this.compilerInfo=[4,">= 1.0.0"];s=this.merge(s,h.helpers);C=C||{};var t="",j,e="function",d=this.escapeExpression,r=this,c=s.blockHelperMissing;function q(H,G){var D="",F,E;D+='\n<div class="errormessagesmall">\n ';E={hash:{},inverse:r.noop,fn:r.program(2,p,G),data:G};if(F=s.local){F=F.call(H,E)}else{F=H.local;F=typeof F===e?F.apply(H):F}if(!s.local){F=c.call(H,F,E)}if(F||F===0){D+=F}D+=":\n ";E={hash:{},inverse:r.noop,fn:r.program(4,o,G),data:G};if(F=s.local){F=F.call(H,E)}else{F=H.local;F=typeof F===e?F.apply(H):F}if(!s.local){F=c.call(H,F,E)}if(F||F===0){D+=F}D+="\n</div>\n";return D}function p(E,D){return"There was an error getting the data for this dataset"}function o(F,E){var D;if(D=s.error){D=D.call(F,{hash:{},data:E})}else{D=F.error;D=typeof D===e?D.apply(F):D}return d(D)}function m(F,E){var D;D=s.unless.call(F,F.purged,{hash:{},inverse:r.noop,fn:r.program(7,l,E),data:E});if(D||D===0){return D}else{return""}}function l(H,G){var D="",F,E;D+="\n";E={hash:{},inverse:r.noop,fn:r.program(8,i,G),data:G};if(F=s.warningmessagesmall){F=F.call(H,E)}else{F=H.warningmessagesmall;F=typeof F===e?F.apply(H):F}if(!s.warningmessagesmall){F=c.call(H,F,E)}if(F||F===0){D+=F}D+="\n";return D}function i(I,H){var D="",G,F,E;D+="\n ";E={hash:{},inverse:r.noop,fn:r.program(9,g,H),data:H};if(G=s.local){G=G.call(I,E)}else{G=I.local;G=typeof G===e?G.apply(I):G}if(!s.local){G=c.call(I,G,E)}if(G||G===0){D+=G}D+="\n ";F=s["if"].call(I,((G=I.urls),G==null||G===false?G:G.undelete),{hash:{},inverse:r.noop,fn:r.program(11,B,H),data:H});if(F||F===0){D+=F}D+="\n";return D}function g(E,D){return"This dataset has been deleted."}function B(H,G){var D="",F,E;D+='\n \n Click <a href="'+d(((F=((F=H.urls),F==null||F===false?F:F.undelete)),typeof F===e?F.apply(H):F))+'" class="historyItemUndelete" id="historyItemUndeleter-';if(E=s.id){E=E.call(H,{hash:{},data:G})}else{E=H.id;E=typeof E===e?E.apply(H):E}D+=d(E)+'"\n target="galaxy_history">here</a> to undelete it\n ';E=s["if"].call(H,((F=H.urls),F==null||F===false?F:F.purge),{hash:{},inverse:r.noop,fn:r.program(12,A,G),data:G});if(E||E===0){D+=E}D+="\n ";return D}function A(H,G){var D="",F,E;D+='\n or <a href="'+d(((F=((F=H.urls),F==null||F===false?F:F.purge)),typeof F===e?F.apply(H):F))+'" class="historyItemPurge" id="historyItemPurger-';if(E=s.id){E=E.call(H,{hash:{},data:G})}else{E=H.id;E=typeof E===e?E.apply(H):E}D+=d(E)+'"\n target="galaxy_history">here</a> to immediately remove it from disk\n ';return D}function z(G,F){var E,D;D={hash:{},inverse:r.noop,fn:r.program(15,y,F),data:F};if(E=s.warningmessagesmall){E=E.call(G,D)}else{E=G.warningmessagesmall;E=typeof E===e?E.apply(G):E}if(!s.warningmessagesmall){E=c.call(G,E,D)}if(E||E===0){return E}else{return""}}function y(H,G){var D="",F,E;D+="\n ";E={hash:{},inverse:r.noop,fn:r.program(16,x,G),data:G};if(F=s.local){F=F.call(H,E)}else{F=H.local;F=typeof F===e?F.apply(H):F}if(!s.local){F=c.call(H,F,E)}if(F||F===0){D+=F}D+="\n";return D}function x(E,D){return"This dataset has been deleted and removed from disk."}function w(G,F){var E,D;D={hash:{},inverse:r.noop,fn:r.program(19,v,F),data:F};if(E=s.warningmessagesmall){E=E.call(G,D)}else{E=G.warningmessagesmall;E=typeof E===e?E.apply(G):E}if(!s.warningmessagesmall){E=c.call(G,E,D)}if(E||E===0){return E}else{return""}}function v(I,H){var D="",G,F,E;D+="\n ";E={hash:{},inverse:r.noop,fn:r.program(20,k,H),data:H};if(G=s.local){G=G.call(I,E)}else{G=I.local;G=typeof G===e?G.apply(I):G}if(!s.local){G=c.call(I,G,E)}if(G||G===0){D+=G}D+="\n ";F=s["if"].call(I,((G=I.urls),G==null||G===false?G:G.unhide),{hash:{},inverse:r.noop,fn:r.program(22,f,H),data:H});if(F||F===0){D+=F}D+="\n";return D}function k(E,D){return"This dataset has been hidden."}function f(H,G){var D="",F,E;D+='\n Click <a href="'+d(((F=((F=H.urls),F==null||F===false?F:F.unhide)),typeof F===e?F.apply(H):F))+'" class="historyItemUnhide" id="historyItemUnhider-';if(E=s.id){E=E.call(H,{hash:{},data:G})}else{E=H.id;E=typeof E===e?E.apply(H):E}D+=d(E)+'"\n target="galaxy_history">here</a> to unhide it\n ';return D}j=s["if"].call(u,u.error,{hash:{},inverse:r.noop,fn:r.program(1,q,C),data:C});if(j||j===0){t+=j}t+="\n\n";j=s["if"].call(u,u.deleted,{hash:{},inverse:r.noop,fn:r.program(6,m,C),data:C});if(j||j===0){t+=j}t+="\n\n";j=s["if"].call(u,u.purged,{hash:{},inverse:r.noop,fn:r.program(14,z,C),data:C});if(j||j===0){t+=j}t+="\n\n";j=s.unless.call(u,u.visible,{hash:{},inverse:r.noop,fn:r.program(18,w,C),data:C});if(j||j===0){t+=j}return t})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-history-historyPanel.js --- a/static/scripts/packed/templates/compiled/template-history-historyPanel.js +++ b/static/scripts/packed/templates/compiled/template-history-historyPanel.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-history-historyPanel"]=b(function(G,d,F,p,M){F=F||G.helpers;var m="",s,q,c,L,g=this,l="function",v=F.blockHelperMissing,E=F.helperMissing,t=void 0,H=this.escapeExpression;function D(Q,P){var N="",O;N+='\n <div id="history-name" class="tooltip editable-text"\n title="';c=F.local;O=c||Q.local;L=g.program(2,C,P);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof O===l){O=O.call(Q,L)}else{O=v.call(Q,O,L)}if(O||O===0){N+=O}N+='">';c=F.name;O=c||Q.name;if(typeof O===l){O=O.call(Q,{hash:{}})}else{if(O===t){O=E.call(Q,"name",{hash:{}})}}N+=H(O)+"</div>\n ";return N}function C(O,N){return"Click to rename history"}function B(Q,P){var N="",O;N+='\n <div id="history-name" class="tooltip"\n title="';c=F.local;O=c||Q.local;L=g.program(5,A,P);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof O===l){O=O.call(Q,L)}else{O=v.call(Q,O,L)}if(O||O===0){N+=O}N+='">';c=F.name;O=c||Q.name;if(typeof O===l){O=O.call(Q,{hash:{}})}else{if(O===t){O=E.call(Q,"name",{hash:{}})}}N+=H(O)+"</div>\n ";return N}function A(O,N){return"You must be logged in to edit your history name"}function y(Q,P){var N="",O;N+='\n <a id="history-tag" title="';c=F.local;O=c||Q.local;L=g.program(8,x,P);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof O===l){O=O.call(Q,L)}else{O=v.call(Q,O,L)}if(O||O===0){N+=O}N+='"\n class="icon-button tags tooltip" target="galaxy_main" href="javascript:void(0)"></a>\n <a id="history-annotate" title="';c=F.local;O=c||Q.local;L=g.program(10,z,P);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof O===l){O=O.call(Q,L)}else{O=v.call(Q,O,L)}if(O||O===0){N+=O}N+='"\n class="icon-button annotate tooltip" target="galaxy_main" href="javascript:void(0)"></a>\n ';return N}function x(O,N){return"Edit history tags"}function z(O,N){return"Edit history annotation"}function w(R,Q){var N="",P,O;N+='\n <div id="history-tag-annotation">\n\n <div id="history-tag-area" style="display: none">\n <strong>';c=F.local;P=c||R.local;L=g.program(13,u,Q);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof P===l){P=P.call(R,L)}else{P=v.call(R,P,L)}if(P||P===0){N+=P}N+=':</strong>\n <div class="tag-elt"></div>\n </div>\n\n <div id="history-annotation-area" style="display: none">\n <strong>';c=F.local;P=c||R.local;L=g.program(15,r,Q);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof P===l){P=P.call(R,L)}else{P=v.call(R,P,L)}if(P||P===0){N+=P}N+=':</strong>\n <div id="history-annotation-container">\n <div id="history-annotation" class="tooltip editable-text"\n title="';c=F.local;P=c||R.local;L=g.program(17,o,Q);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof P===l){P=P.call(R,L)}else{P=v.call(R,P,L)}if(P||P===0){N+=P}N+='">\n ';c=F.annotation;P=c||R.annotation;O=F["if"];L=g.program(19,n,Q);L.hash={};L.fn=L;L.inverse=g.program(21,k,Q);P=O.call(R,P,L);if(P||P===0){N+=P}N+="\n </div>\n </div>\n </div>\n </div>\n ";return N}function u(O,N){return"Tags"}function r(O,N){return"Annotation"}function o(O,N){return"Click to edit annotation"}function n(Q,P){var N="",O;N+="\n ";c=F.annotation;O=c||Q.annotation;if(typeof O===l){O=O.call(Q,{hash:{}})}else{if(O===t){O=E.call(Q,"annotation",{hash:{}})}}N+=H(O)+"\n ";return N}function k(Q,P){var N="",O;N+="\n <em>";c=F.local;O=c||Q.local;L=g.program(22,j,P);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof O===l){O=O.call(Q,L)}else{O=v.call(Q,O,L)}if(O||O===0){N+=O}N+="</em>\n ";return N}function j(O,N){return"Describe or add notes to history"}function i(Q,P){var N="",O;N+="\n ";c=F.warningmessagesmall;O=c||Q.warningmessagesmall;L=g.program(25,h,P);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof O===l){O=O.call(Q,L)}else{O=v.call(Q,O,L)}if(O||O===0){N+=O}N+="\n ";return N}function h(P,O){var N;c=F.local;N=c||P.local;L=g.program(26,f,O);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof N===l){N=N.call(P,L)}else{N=v.call(P,N,L)}if(N||N===0){return N}else{return""}}function f(O,N){return"You are currently viewing a deleted history!"}function e(Q,P){var N="",O;N+='\n <div class="';c=F.status;O=c||Q.status;if(typeof O===l){O=O.call(Q,{hash:{}})}else{if(O===t){O=E.call(Q,"status",{hash:{}})}}N+=H(O)+'message">';c=F.message;O=c||Q.message;if(typeof O===l){O=O.call(Q,{hash:{}})}else{if(O===t){O=E.call(Q,"message",{hash:{}})}}N+=H(O)+"</div>\n ";return N}function K(O,N){return"You are over your disk quota"}function J(O,N){return"Tool execution is on hold until your disk usage drops below your allocated quota"}function I(O,N){return"Your history is empty. Click 'Get Data' on the left pane to start"}m+='<div id="history-controls">\n\n <div id="history-title-area" class="historyLinks">\n ';m+='\n <div id="history-name-container">\n ';m+="\n ";c=F.user;s=c||d.user;s=(s===null||s===undefined||s===false?s:s.email);q=F["if"];L=g.program(1,D,M);L.hash={};L.fn=L;L.inverse=g.program(4,B,M);s=q.call(d,s,L);if(s||s===0){m+=s}m+='\n </div>\n </div>\n\n <div id="history-subtitle-area">\n <div id="history-size" style="float:left;">';c=F.nice_size;s=c||d.nice_size;if(typeof s===l){s=s.call(d,{hash:{}})}else{if(s===t){s=E.call(d,"nice_size",{hash:{}})}}m+=H(s)+'</div>\n\n <div id="history-secondary-links" style="float: right;">\n ';c=F.user;s=c||d.user;s=(s===null||s===undefined||s===false?s:s.email);q=F["if"];L=g.program(7,y,M);L.hash={};L.fn=L;L.inverse=g.noop;s=q.call(d,s,L);if(s||s===0){m+=s}m+='\n </div>\n <div style="clear: both;"></div>\n </div>\n\n ';m+="\n ";m+="\n ";c=F.user;s=c||d.user;s=(s===null||s===undefined||s===false?s:s.email);q=F["if"];L=g.program(12,w,M);L.hash={};L.fn=L;L.inverse=g.noop;s=q.call(d,s,L);if(s||s===0){m+=s}m+="\n\n ";c=F.deleted;s=c||d.deleted;q=F["if"];L=g.program(24,i,M);L.hash={};L.fn=L;L.inverse=g.noop;s=q.call(d,s,L);if(s||s===0){m+=s}m+='\n\n <div id="message-container">\n ';c=F.message;s=c||d.message;q=F["if"];L=g.program(28,e,M);L.hash={};L.fn=L;L.inverse=g.noop;s=q.call(d,s,L);if(s||s===0){m+=s}m+='\n </div>\n\n <div id="quota-message-container" style="display: none">\n <div id="quota-message" class="errormessage">\n ';c=F.local;s=c||d.local;L=g.program(30,K,M);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof s===l){s=s.call(d,L)}else{s=v.call(d,s,L)}if(s||s===0){m+=s}m+=".\n ";c=F.local;s=c||d.local;L=g.program(32,J,M);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof s===l){s=s.call(d,L)}else{s=v.call(d,s,L)}if(s||s===0){m+=s}m+='.\n </div>\n </div>\n</div>\n\n<div id="';c=F.id;s=c||d.id;if(typeof s===l){s=s.call(d,{hash:{}})}else{if(s===t){s=E.call(d,"id",{hash:{}})}}m+=H(s)+'-datasets" class="history-datasets-list"></div>\n\n<div class="infomessagesmall" id="emptyHistoryMessage" style="display: none;">\n ';c=F.local;s=c||d.local;L=g.program(34,I,M);L.hash={};L.fn=L;L.inverse=g.noop;if(c&&typeof s===l){s=s.call(d,L)}else{s=v.call(d,s,L)}if(s||s===0){m+=s}m+="\n</div>";return m})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-history-historyPanel"]=b(function(m,C,A,s,J){this.compilerInfo=[4,">= 1.0.0"];A=this.merge(A,m.helpers);J=J||{};var B="",p,l,h,x=this,e="function",c=A.blockHelperMissing,d=this.escapeExpression;function v(O,N){var K="",M,L;K+='\n <div id="history-name" class="tooltip editable-text"\n title="';L={hash:{},inverse:x.noop,fn:x.program(2,u,N),data:N};if(M=A.local){M=M.call(O,L)}else{M=O.local;M=typeof M===e?M.apply(O):M}if(!A.local){M=c.call(O,M,L)}if(M||M===0){K+=M}K+='">';if(M=A.name){M=M.call(O,{hash:{},data:N})}else{M=O.name;M=typeof M===e?M.apply(O):M}K+=d(M)+"</div>\n ";return K}function u(L,K){return"Click to rename history"}function t(O,N){var K="",M,L;K+='\n <div id="history-name" class="tooltip"\n title="';L={hash:{},inverse:x.noop,fn:x.program(5,r,N),data:N};if(M=A.local){M=M.call(O,L)}else{M=O.local;M=typeof M===e?M.apply(O):M}if(!A.local){M=c.call(O,M,L)}if(M||M===0){K+=M}K+='">';if(M=A.name){M=M.call(O,{hash:{},data:N})}else{M=O.name;M=typeof M===e?M.apply(O):M}K+=d(M)+"</div>\n ";return K}function r(L,K){return"You must be logged in to edit your history name"}function q(O,N){var K="",M,L;K+='\n <a id="history-tag" title="';L={hash:{},inverse:x.noop,fn:x.program(8,o,N),data:N};if(M=A.local){M=M.call(O,L)}else{M=O.local;M=typeof M===e?M.apply(O):M}if(!A.local){M=c.call(O,M,L)}if(M||M===0){K+=M}K+='"\n class="icon-button tags tooltip" target="galaxy_main" href="javascript:void(0)"></a>\n <a id="history-annotate" title="';L={hash:{},inverse:x.noop,fn:x.program(10,I,N),data:N};if(M=A.local){M=M.call(O,L)}else{M=O.local;M=typeof M===e?M.apply(O):M}if(!A.local){M=c.call(O,M,L)}if(M||M===0){K+=M}K+='"\n class="icon-button annotate tooltip" target="galaxy_main" href="javascript:void(0)"></a>\n ';return K}function o(L,K){return"Edit history tags"}function I(L,K){return"Edit history annotation"}function H(O,N){var K="",M,L;K+='\n <div id="history-tag-annotation">\n\n <div id="history-tag-area" style="display: none">\n <strong>';L={hash:{},inverse:x.noop,fn:x.program(13,G,N),data:N};if(M=A.local){M=M.call(O,L)}else{M=O.local;M=typeof M===e?M.apply(O):M}if(!A.local){M=c.call(O,M,L)}if(M||M===0){K+=M}K+=':</strong>\n <div class="tag-elt"></div>\n </div>\n\n <div id="history-annotation-area" style="display: none">\n <strong>';L={hash:{},inverse:x.noop,fn:x.program(15,F,N),data:N};if(M=A.local){M=M.call(O,L)}else{M=O.local;M=typeof M===e?M.apply(O):M}if(!A.local){M=c.call(O,M,L)}if(M||M===0){K+=M}K+=':</strong>\n <div id="history-annotation-container">\n <div id="history-annotation" class="tooltip editable-text"\n title="';L={hash:{},inverse:x.noop,fn:x.program(17,E,N),data:N};if(M=A.local){M=M.call(O,L)}else{M=O.local;M=typeof M===e?M.apply(O):M}if(!A.local){M=c.call(O,M,L)}if(M||M===0){K+=M}K+='">\n ';M=A["if"].call(O,O.annotation,{hash:{},inverse:x.program(21,n,N),fn:x.program(19,D,N),data:N});if(M||M===0){K+=M}K+="\n </div>\n </div>\n </div>\n </div>\n ";return K}function G(L,K){return"Tags"}function F(L,K){return"Annotation"}function E(L,K){return"Click to edit annotation"}function D(N,M){var K="",L;K+="\n ";if(L=A.annotation){L=L.call(N,{hash:{},data:M})}else{L=N.annotation;L=typeof L===e?L.apply(N):L}K+=d(L)+"\n ";return K}function n(O,N){var K="",M,L;K+="\n <em>";L={hash:{},inverse:x.noop,fn:x.program(22,k,N),data:N};if(M=A.local){M=M.call(O,L)}else{M=O.local;M=typeof M===e?M.apply(O):M}if(!A.local){M=c.call(O,M,L)}if(M||M===0){K+=M}K+="</em>\n ";return K}function k(L,K){return"Describe or add notes to history"}function j(O,N){var K="",M,L;K+="\n ";L={hash:{},inverse:x.noop,fn:x.program(25,i,N),data:N};if(M=A.warningmessagesmall){M=M.call(O,L)}else{M=O.warningmessagesmall;M=typeof M===e?M.apply(O):M}if(!A.warningmessagesmall){M=c.call(O,M,L)}if(M||M===0){K+=M}K+="\n ";return K}function i(N,M){var L,K;K={hash:{},inverse:x.noop,fn:x.program(26,g,M),data:M};if(L=A.local){L=L.call(N,K)}else{L=N.local;L=typeof L===e?L.apply(N):L}if(!A.local){L=c.call(N,L,K)}if(L||L===0){return L}else{return""}}function g(L,K){return"You are currently viewing a deleted history!"}function f(N,M){var K="",L;K+='\n <div class="';if(L=A.status){L=L.call(N,{hash:{},data:M})}else{L=N.status;L=typeof L===e?L.apply(N):L}K+=d(L)+'message">';if(L=A.message){L=L.call(N,{hash:{},data:M})}else{L=N.message;L=typeof L===e?L.apply(N):L}K+=d(L)+"</div>\n ";return K}function z(L,K){return"You are over your disk quota"}function y(L,K){return"Tool execution is on hold until your disk usage drops below your allocated quota"}function w(L,K){return"Your history is empty. Click 'Get Data' on the left pane to start"}B+='<div id="history-controls">\n\n <div id="history-title-area" class="historyLinks">\n \n <div id="history-name-container">\n \n ';l=A["if"].call(C,((p=C.user),p==null||p===false?p:p.email),{hash:{},inverse:x.program(4,t,J),fn:x.program(1,v,J),data:J});if(l||l===0){B+=l}B+='\n </div>\n </div>\n\n <div id="history-subtitle-area">\n <div id="history-size" style="float:left;">';if(l=A.nice_size){l=l.call(C,{hash:{},data:J})}else{l=C.nice_size;l=typeof l===e?l.apply(C):l}B+=d(l)+'</div>\n\n <div id="history-secondary-links" style="float: right;">\n ';l=A["if"].call(C,((p=C.user),p==null||p===false?p:p.email),{hash:{},inverse:x.noop,fn:x.program(7,q,J),data:J});if(l||l===0){B+=l}B+='\n </div>\n <div style="clear: both;"></div>\n </div>\n\n \n \n ';l=A["if"].call(C,((p=C.user),p==null||p===false?p:p.email),{hash:{},inverse:x.noop,fn:x.program(12,H,J),data:J});if(l||l===0){B+=l}B+="\n\n ";l=A["if"].call(C,C.deleted,{hash:{},inverse:x.noop,fn:x.program(24,j,J),data:J});if(l||l===0){B+=l}B+='\n\n <div id="message-container">\n ';l=A["if"].call(C,C.message,{hash:{},inverse:x.noop,fn:x.program(28,f,J),data:J});if(l||l===0){B+=l}B+='\n </div>\n\n <div id="quota-message-container" style="display: none">\n <div id="quota-message" class="errormessage">\n ';h={hash:{},inverse:x.noop,fn:x.program(30,z,J),data:J};if(l=A.local){l=l.call(C,h)}else{l=C.local;l=typeof l===e?l.apply(C):l}if(!A.local){l=c.call(C,l,h)}if(l||l===0){B+=l}B+=".\n ";h={hash:{},inverse:x.noop,fn:x.program(32,y,J),data:J};if(l=A.local){l=l.call(C,h)}else{l=C.local;l=typeof l===e?l.apply(C):l}if(!A.local){l=c.call(C,l,h)}if(l||l===0){B+=l}B+='.\n </div>\n </div>\n</div>\n\n<div id="';if(l=A.id){l=l.call(C,{hash:{},data:J})}else{l=C.id;l=typeof l===e?l.apply(C):l}B+=d(l)+'-datasets" class="history-datasets-list"></div>\n\n<div class="infomessagesmall" id="emptyHistoryMessage" style="display: none;">\n ';h={hash:{},inverse:x.noop,fn:x.program(34,w,J),data:J};if(l=A.local){l=l.call(C,h)}else{l=C.local;l=typeof l===e?l.apply(C):l}if(!A.local){l=c.call(C,l,h)}if(l||l===0){B+=l}B+="\n</div>";return B})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-iconButton.js --- a/static/scripts/packed/templates/compiled/template-iconButton.js +++ b/static/scripts/packed/templates/compiled/template-iconButton.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-iconButton"]=b(function(e,j,d,i,h){d=d||e.helpers;i=i||e.partials;var g="",c,f,k=this;g+="\n";c=j;c=k.invokePartial(i.iconButton,"iconButton",c,d,i);if(c||c===0){g+=c}return g})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-iconButton"]=b(function(i,j,g,e,h){this.compilerInfo=[4,">= 1.0.0"];g=this.merge(g,i.helpers);e=this.merge(e,i.partials);h=h||{};var c="",f,d=this;c+="\n";f=d.invokePartial(e.iconButton,"iconButton",j,g,e,h);if(f||f===0){c+=f}return c})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-popupmenu-menu.js --- a/static/scripts/packed/templates/compiled/template-popupmenu-menu.js +++ b/static/scripts/packed/templates/compiled/template-popupmenu-menu.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-popupmenu-menu"]=b(function(h,w,u,n,B){u=u||h.helpers;var v="",k,g,j,s,r=this,e="function",t=u.helperMissing,c=void 0,d=this.escapeExpression;function q(G,F){var C="",E,D;C+="\n ";j=u.options;E=j||G.options;D=u.each;s=r.program(2,p,F);s.hash={};s.fn=s;s.inverse=r.noop;E=D.call(G,E,s);if(E||E===0){C+=E}C+="\n";return C}function p(G,F){var C="",E,D;C+="\n ";j=u.divider;E=j||G.divider;D=u["if"];s=r.program(3,o,F);s.hash={};s.fn=s;s.inverse=r.program(5,m,F);E=D.call(G,E,s);if(E||E===0){C+=E}C+="\n ";return C}function o(D,C){return'\n <li class="divider"></li>\n '}function m(G,F){var C="",E,D;C+="\n ";j=u.header;E=j||G.header;D=u["if"];s=r.program(6,l,F);s.hash={};s.fn=s;s.inverse=r.program(8,i,F);E=D.call(G,E,s);if(E||E===0){C+=E}C+="\n ";return C}function l(F,E){var C="",D;C+='\n <li class="head"><a href=""javascript:void(0);">';j=u.html;D=j||F.html;if(typeof D===e){D=D.call(F,{hash:{}})}else{if(D===c){D=t.call(F,"html",{hash:{}})}}if(D||D===0){C+=D}C+="</a></li>\n ";return C}function i(G,F){var C="",E,D;C+="\n ";C+='\n <li><a href="';j=u.href;E=j||G.href;D=u["if"];s=r.program(9,f,F);s.hash={};s.fn=s;s.inverse=r.program(11,A,F);E=D.call(G,E,s);if(E||E===0){C+=E}C+='"\n ';j=u.href;E=j||G.href;D=u["if"];s=r.program(13,z,F);s.hash={};s.fn=s;s.inverse=r.noop;E=D.call(G,E,s);if(E||E===0){C+=E}C+=' class="popupmenu-option">\n ';j=u.checked;E=j||G.checked;D=u["if"];s=r.program(15,y,F);s.hash={};s.fn=s;s.inverse=r.noop;E=D.call(G,E,s);if(E||E===0){C+=E}C+="\n ";j=u.html;E=j||G.html;if(typeof E===e){E=E.call(G,{hash:{}})}else{if(E===c){E=t.call(G,"html",{hash:{}})}}if(E||E===0){C+=E}C+="\n </a></li>\n ";return C}function f(E,D){var C;j=u.href;C=j||E.href;if(typeof C===e){C=C.call(E,{hash:{}})}else{if(C===c){C=t.call(E,"href",{hash:{}})}}return d(C)}function A(D,C){return"javascript:void(0);"}function z(F,E){var C="",D;C+='target="';j=u.target;D=j||F.target;if(typeof D===e){D=D.call(F,{hash:{}})}else{if(D===c){D=t.call(F,"target",{hash:{}})}}C+=d(D)+'"';return C}function y(D,C){return'<span class="fa-icon-ok"></span>'}function x(D,C){return"\n <li>No Options.</li>\n"}v+='<ul id="';j=u.id;k=j||w.id;if(typeof k===e){k=k.call(w,{hash:{}})}else{if(k===c){k=t.call(w,"id",{hash:{}})}}v+=d(k)+'-menu" class="dropdown-menu">\n';j=u.options;k=j||w.options;k=(k===null||k===undefined||k===false?k:k.length);g=u["if"];s=r.program(1,q,B);s.hash={};s.fn=s;s.inverse=r.program(17,x,B);k=g.call(w,k,s);if(k||k===0){v+=k}v+="\n</ul>";return v})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-popupmenu-menu"]=b(function(g,s,q,l,x){this.compilerInfo=[4,">= 1.0.0"];q=this.merge(q,g.helpers);x=x||{};var r="",i,f,d="function",c=this.escapeExpression,p=this;function o(B,A){var y="",z;y+="\n ";z=q.each.call(B,B.options,{hash:{},inverse:p.noop,fn:p.program(2,n,A),data:A});if(z||z===0){y+=z}y+="\n";return y}function n(B,A){var y="",z;y+="\n ";z=q["if"].call(B,B.divider,{hash:{},inverse:p.program(5,k,A),fn:p.program(3,m,A),data:A});if(z||z===0){y+=z}y+="\n ";return y}function m(z,y){return'\n <li class="divider"></li>\n '}function k(B,A){var y="",z;y+="\n ";z=q["if"].call(B,B.header,{hash:{},inverse:p.program(8,h,A),fn:p.program(6,j,A),data:A});if(z||z===0){y+=z}y+="\n ";return y}function j(B,A){var y="",z;y+='\n <li class="head"><a href=""javascript:void(0);">';if(z=q.html){z=z.call(B,{hash:{},data:A})}else{z=B.html;z=typeof z===d?z.apply(B):z}if(z||z===0){y+=z}y+="</a></li>\n ";return y}function h(B,A){var y="",z;y+='\n \n <li><a href="';z=q["if"].call(B,B.href,{hash:{},inverse:p.program(11,w,A),fn:p.program(9,e,A),data:A});if(z||z===0){y+=z}y+='"\n ';z=q["if"].call(B,B.href,{hash:{},inverse:p.noop,fn:p.program(13,v,A),data:A});if(z||z===0){y+=z}y+=' class="popupmenu-option">\n ';z=q["if"].call(B,B.checked,{hash:{},inverse:p.noop,fn:p.program(15,u,A),data:A});if(z||z===0){y+=z}y+="\n ";if(z=q.html){z=z.call(B,{hash:{},data:A})}else{z=B.html;z=typeof z===d?z.apply(B):z}if(z||z===0){y+=z}y+="\n </a></li>\n ";return y}function e(A,z){var y;if(y=q.href){y=y.call(A,{hash:{},data:z})}else{y=A.href;y=typeof y===d?y.apply(A):y}return c(y)}function w(z,y){return"javascript:void(0);"}function v(B,A){var y="",z;y+='target="';if(z=q.target){z=z.call(B,{hash:{},data:A})}else{z=B.target;z=typeof z===d?z.apply(B):z}y+=c(z)+'"';return y}function u(z,y){return'<span class="fa-icon-ok"></span>'}function t(z,y){return"\n <li>No Options.</li>\n"}r+='<ul id="';if(i=q.id){i=i.call(s,{hash:{},data:x})}else{i=s.id;i=typeof i===d?i.apply(s):i}r+=c(i)+'-menu" class="dropdown-menu">\n';f=q["if"].call(s,((i=s.options),i==null||i===false?i:i.length),{hash:{},inverse:p.program(17,t,x),fn:p.program(1,o,x),data:x});if(f||f===0){r+=f}r+="\n</ul>";return r})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-user-quotaMeter-quota.js --- a/static/scripts/packed/templates/compiled/template-user-quotaMeter-quota.js +++ b/static/scripts/packed/templates/compiled/template-user-quotaMeter-quota.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-user-quotaMeter-quota"]=b(function(h,s,q,k,t){q=q||h.helpers;var r="",j,g,i,o,n=this,f="function",p=q.helperMissing,d=void 0,e=this.escapeExpression,c=q.blockHelperMissing;function m(x,w){var u="",v;u+=' title="Using ';i=q.nice_total_disk_usage;v=i||x.nice_total_disk_usage;if(typeof v===f){v=v.call(x,{hash:{}})}else{if(v===d){v=p.call(x,"nice_total_disk_usage",{hash:{}})}}u+=e(v)+'"';return u}function l(v,u){return"Using"}r+='<div id="quota-meter" class="quota-meter progress">\n <div id="quota-meter-bar" class="quota-meter-bar bar" style="width: ';i=q.quota_percent;j=i||s.quota_percent;if(typeof j===f){j=j.call(s,{hash:{}})}else{if(j===d){j=p.call(s,"quota_percent",{hash:{}})}}r+=e(j)+'%"></div>\n ';r+='\n <div id="quota-meter-text" class="quota-meter-text tooltip"\n style="top: 6px"';i=q.nice_total_disk_usage;j=i||s.nice_total_disk_usage;g=q["if"];o=n.program(1,m,t);o.hash={};o.fn=o;o.inverse=n.noop;j=g.call(s,j,o);if(j||j===0){r+=j}r+=">\n ";i=q.local;j=i||s.local;o=n.program(3,l,t);o.hash={};o.fn=o;o.inverse=n.noop;if(i&&typeof j===f){j=j.call(s,o)}else{j=c.call(s,j,o)}if(j||j===0){r+=j}r+=" ";i=q.quota_percent;j=i||s.quota_percent;if(typeof j===f){j=j.call(s,{hash:{}})}else{if(j===d){j=p.call(s,"quota_percent",{hash:{}})}}r+=e(j)+"%\n </div>\n</div>";return r})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-user-quotaMeter-quota"]=b(function(g,m,f,l,k){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);k=k||{};var i="",d,p,h="function",j=this.escapeExpression,o=this,n=f.blockHelperMissing;function e(t,s){var q="",r;q+=' title="Using ';if(r=f.nice_total_disk_usage){r=r.call(t,{hash:{},data:s})}else{r=t.nice_total_disk_usage;r=typeof r===h?r.apply(t):r}q+=j(r)+'"';return q}function c(r,q){return"Using"}i+='<div id="quota-meter" class="quota-meter progress">\n <div id="quota-meter-bar" class="quota-meter-bar bar" style="width: ';if(d=f.quota_percent){d=d.call(m,{hash:{},data:k})}else{d=m.quota_percent;d=typeof d===h?d.apply(m):d}i+=j(d)+'%"></div>\n \n <div id="quota-meter-text" class="quota-meter-text tooltip"\n style="top: 6px"';d=f["if"].call(m,m.nice_total_disk_usage,{hash:{},inverse:o.noop,fn:o.program(1,e,k),data:k});if(d||d===0){i+=d}i+=">\n ";p={hash:{},inverse:o.noop,fn:o.program(3,c,k),data:k};if(d=f.local){d=d.call(m,p)}else{d=m.local;d=typeof d===h?d.apply(m):d}if(!f.local){d=n.call(m,d,p)}if(d||d===0){i+=d}i+=" ";if(d=f.quota_percent){d=d.call(m,{hash:{},data:k})}else{d=m.quota_percent;d=typeof d===h?d.apply(m):d}i+=j(d)+"%\n </div>\n</div>";return i})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-user-quotaMeter-usage.js --- a/static/scripts/packed/templates/compiled/template-user-quotaMeter-usage.js +++ b/static/scripts/packed/templates/compiled/template-user-quotaMeter-usage.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-user-quotaMeter-usage"]=b(function(h,s,q,k,t){q=q||h.helpers;var r="",j,g,i,o,n=this,f="function",c=q.blockHelperMissing,p=q.helperMissing,d=void 0,e=this.escapeExpression;function m(x,w){var u="",v;i=q.local;v=i||x.local;o=n.program(2,l,w);o.hash={};o.fn=o;o.inverse=n.noop;if(i&&typeof v===f){v=v.call(x,o)}else{v=c.call(x,v,o)}if(v||v===0){u+=v}u+=" ";i=q.nice_total_disk_usage;v=i||x.nice_total_disk_usage;if(typeof v===f){v=v.call(x,{hash:{}})}else{if(v===d){v=p.call(x,"nice_total_disk_usage",{hash:{}})}}u+=e(v);return u}function l(v,u){return"Using"}r+='<div id="quota-meter" class="quota-meter" style="background-color: transparent">\n <div id="quota-meter-text" class="quota-meter-text" style="top: 6px; color: white">\n ';i=q.nice_total_disk_usage;j=i||s.nice_total_disk_usage;g=q["if"];o=n.program(1,m,t);o.hash={};o.fn=o;o.inverse=n.noop;j=g.call(s,j,o);if(j||j===0){r+=j}r+="\n </div>\n</div>";return r})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-user-quotaMeter-usage"]=b(function(g,m,f,l,k){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);k=k||{};var i="",c,o=this,h="function",n=f.blockHelperMissing,j=this.escapeExpression;function e(t,s){var p="",r,q;q={hash:{},inverse:o.noop,fn:o.program(2,d,s),data:s};if(r=f.local){r=r.call(t,q)}else{r=t.local;r=typeof r===h?r.apply(t):r}if(!f.local){r=n.call(t,r,q)}if(r||r===0){p+=r}p+=" ";if(r=f.nice_total_disk_usage){r=r.call(t,{hash:{},data:s})}else{r=t.nice_total_disk_usage;r=typeof r===h?r.apply(t):r}p+=j(r);return p}function d(q,p){return"Using"}i+='<div id="quota-meter" class="quota-meter" style="background-color: transparent">\n <div id="quota-meter-text" class="quota-meter-text" style="top: 6px; color: white">\n ';c=f["if"].call(m,m.nice_total_disk_usage,{hash:{},inverse:o.noop,fn:o.program(1,e,k),data:k});if(c||c===0){i+=c}i+="\n </div>\n</div>";return i})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-visualization-chartControl.js --- a/static/scripts/packed/templates/compiled/template-visualization-chartControl.js +++ b/static/scripts/packed/templates/compiled/template-visualization-chartControl.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-visualization-chartControl"]=b(function(f,p,e,n,m){e=e||f.helpers;var k="",c,r,j,i,q=this,g="function",o=e.helperMissing,h=void 0,l=this.escapeExpression;function d(t,s){return' checked="true"'}k+='<p class="help-text">\n Use the following controls to how the chart is displayed.\n The slide controls can be moved by the mouse or, if the \'handle\' is in focus, your keyboard\'s arrow keys.\n Move the focus between controls by using the tab or shift+tab keys on your keyboard.\n Use the \'Draw\' button to render (or re-render) the chart with the current settings.\n </p>\n\n <div id="datapointSize" class="form-input numeric-slider-input">\n <label for="datapointSize">Size of data point: </label>\n <div class="slider-output">';j=e.datapointSize;c=j||p.datapointSize;if(typeof c===g){c=c.call(p,{hash:{}})}else{if(c===h){c=o.call(p,"datapointSize",{hash:{}})}}k+=l(c)+'</div>\n <div class="slider"></div>\n <p class="form-help help-text-small">\n Size of the graphic representation of each data point\n </p>\n </div>\n\n <div id="animDuration" class="form-input checkbox-input">\n <label for="animate-chart">Animate chart transitions?: </label>\n <input type="checkbox" id="animate-chart"\n class="checkbox control"';j=e.animDuration;c=j||p.animDuration;r=e["if"];i=q.program(1,d,m);i.hash={};i.fn=i;i.inverse=q.noop;c=r.call(p,c,i);if(c||c===0){k+=c}k+=' />\n <p class="form-help help-text-small">\n Uncheck this to disable the animations used on the chart\n </p>\n </div>\n\n <div id="width" class="form-input numeric-slider-input">\n <label for="width">Chart width: </label>\n <div class="slider-output">';j=e.width;c=j||p.width;if(typeof c===g){c=c.call(p,{hash:{}})}else{if(c===h){c=o.call(p,"width",{hash:{}})}}k+=l(c)+'</div>\n <div class="slider"></div>\n <p class="form-help help-text-small">\n (not including chart margins and axes)\n </p>\n </div>\n\n <div id="height" class="form-input numeric-slider-input">\n <label for="height">Chart height: </label>\n <div class="slider-output">';j=e.height;c=j||p.height;if(typeof c===g){c=c.call(p,{hash:{}})}else{if(c===h){c=o.call(p,"height",{hash:{}})}}k+=l(c)+'</div>\n <div class="slider"></div>\n <p class="form-help help-text-small">\n (not including chart margins and axes)\n </p>\n </div>\n\n <div id="X-axis-label"class="text-input form-input">\n <label for="X-axis-label">Re-label the X axis: </label>\n <input type="text" name="X-axis-label" id="X-axis-label" value="';j=e.xLabel;c=j||p.xLabel;if(typeof c===g){c=c.call(p,{hash:{}})}else{if(c===h){c=o.call(p,"xLabel",{hash:{}})}}k+=l(c)+'" />\n <p class="form-help help-text-small"></p>\n </div>\n\n <div id="Y-axis-label" class="text-input form-input">\n <label for="Y-axis-label">Re-label the Y axis: </label>\n <input type="text" name="Y-axis-label" id="Y-axis-label" value="';j=e.yLabel;c=j||p.yLabel;if(typeof c===g){c=c.call(p,{hash:{}})}else{if(c===h){c=o.call(p,"yLabel",{hash:{}})}}k+=l(c)+'" />\n <p class="form-help help-text-small"></p>\n </div>\n\n <input id="render-button" type="button" value="Draw" />';return k})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-visualization-chartControl"]=b(function(f,l,e,k,j){this.compilerInfo=[4,">= 1.0.0"];e=this.merge(e,f.helpers);j=j||{};var h="",c,g="function",i=this.escapeExpression,m=this;function d(o,n){return' checked="true"'}h+='<p class="help-text">\n Use the following controls to how the chart is displayed.\n The slide controls can be moved by the mouse or, if the \'handle\' is in focus, your keyboard\'s arrow keys.\n Move the focus between controls by using the tab or shift+tab keys on your keyboard.\n Use the \'Draw\' button to render (or re-render) the chart with the current settings.\n </p>\n\n <div id="datapointSize" class="form-input numeric-slider-input">\n <label for="datapointSize">Size of data point: </label>\n <div class="slider-output">';if(c=e.datapointSize){c=c.call(l,{hash:{},data:j})}else{c=l.datapointSize;c=typeof c===g?c.apply(l):c}h+=i(c)+'</div>\n <div class="slider"></div>\n <p class="form-help help-text-small">\n Size of the graphic representation of each data point\n </p>\n </div>\n\n <div id="animDuration" class="form-input checkbox-input">\n <label for="animate-chart">Animate chart transitions?: </label>\n <input type="checkbox" id="animate-chart"\n class="checkbox control"';c=e["if"].call(l,l.animDuration,{hash:{},inverse:m.noop,fn:m.program(1,d,j),data:j});if(c||c===0){h+=c}h+=' />\n <p class="form-help help-text-small">\n Uncheck this to disable the animations used on the chart\n </p>\n </div>\n\n <div id="width" class="form-input numeric-slider-input">\n <label for="width">Chart width: </label>\n <div class="slider-output">';if(c=e.width){c=c.call(l,{hash:{},data:j})}else{c=l.width;c=typeof c===g?c.apply(l):c}h+=i(c)+'</div>\n <div class="slider"></div>\n <p class="form-help help-text-small">\n (not including chart margins and axes)\n </p>\n </div>\n\n <div id="height" class="form-input numeric-slider-input">\n <label for="height">Chart height: </label>\n <div class="slider-output">';if(c=e.height){c=c.call(l,{hash:{},data:j})}else{c=l.height;c=typeof c===g?c.apply(l):c}h+=i(c)+'</div>\n <div class="slider"></div>\n <p class="form-help help-text-small">\n (not including chart margins and axes)\n </p>\n </div>\n\n <div id="X-axis-label"class="text-input form-input">\n <label for="X-axis-label">Re-label the X axis: </label>\n <input type="text" name="X-axis-label" id="X-axis-label" value="';if(c=e.xLabel){c=c.call(l,{hash:{},data:j})}else{c=l.xLabel;c=typeof c===g?c.apply(l):c}h+=i(c)+'" />\n <p class="form-help help-text-small"></p>\n </div>\n\n <div id="Y-axis-label" class="text-input form-input">\n <label for="Y-axis-label">Re-label the Y axis: </label>\n <input type="text" name="Y-axis-label" id="Y-axis-label" value="';if(c=e.yLabel){c=c.call(l,{hash:{},data:j})}else{c=l.yLabel;c=typeof c===g?c.apply(l):c}h+=i(c)+'" />\n <p class="form-help help-text-small"></p>\n </div>\n\n <input id="render-button" type="button" value="Draw" />';return h})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-visualization-chartDisplay.js --- a/static/scripts/packed/templates/compiled/template-visualization-chartDisplay.js +++ b/static/scripts/packed/templates/compiled/template-visualization-chartDisplay.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-visualization-chartDisplay"]=b(function(e,n,d,l,k){d=d||e.helpers;var i="",c,h,o=this,f="function",m=d.helperMissing,g=void 0,j=this.escapeExpression;i+='<svg width="';h=d.width;c=h||n.width;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"width",{hash:{}})}}i+=j(c)+'" height="';h=d.height;c=h||n.height;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"height",{hash:{}})}}i+=j(c)+'"></svg>';return i})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-visualization-chartDisplay"]=b(function(e,k,d,j,i){this.compilerInfo=[4,">= 1.0.0"];d=this.merge(d,e.helpers);i=i||{};var g="",c,f="function",h=this.escapeExpression;g+='<svg width="';if(c=d.width){c=c.call(k,{hash:{},data:i})}else{c=k.width;c=typeof c===f?c.apply(k):c}g+=h(c)+'" height="';if(c=d.height){c=c.call(k,{hash:{},data:i})}else{c=k.height;c=typeof c===f?c.apply(k):c}g+=h(c)+'"></svg>';return g})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-visualization-dataControl.js --- a/static/scripts/packed/templates/compiled/template-visualization-dataControl.js +++ b/static/scripts/packed/templates/compiled/template-visualization-dataControl.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-visualization-dataControl"]=b(function(g,t,r,l,u){r=r||g.helpers;var s="",i,f,h,p,o=this,e="function",q=r.helperMissing,c=void 0,d=this.escapeExpression;function n(y,x){var v="",w;v+='\n <option value="';h=r.index;w=h||y.index;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"index",{hash:{}})}}v+=d(w)+'">';h=r.name;w=h||y.name;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"name",{hash:{}})}}v+=d(w)+"</option>\n ";return v}function m(y,x){var v="",w;v+='\n <option value="';h=r.index;w=h||y.index;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"index",{hash:{}})}}v+=d(w)+'">';h=r.name;w=h||y.name;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"name",{hash:{}})}}v+=d(w)+"</option>\n ";return v}function k(y,x){var v="",w;v+='\n <option value="';h=r.index;w=h||y.index;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"index",{hash:{}})}}v+=d(w)+'">';h=r.name;w=h||y.name;if(typeof w===e){w=w.call(y,{hash:{}})}else{if(w===c){w=q.call(y,"name",{hash:{}})}}v+=d(w)+"</option>\n ";return v}function j(w,v){return'checked="true"'}s+="<p class=\"help-text\">\n Use the following controls to change the data used by the chart.\n Use the 'Draw' button to render (or re-render) the chart with the current settings.\n </p>\n\n ";s+='\n <div class="column-select">\n <label for="X-select">Data column for X: </label>\n <select name="X" id="X-select">\n ';h=r.numericColumns;i=h||t.numericColumns;f=r.each;p=o.program(1,n,u);p.hash={};p.fn=p;p.inverse=o.noop;i=f.call(t,i,p);if(i||i===0){s+=i}s+='\n </select>\n </div>\n <div class="column-select">\n <label for="Y-select">Data column for Y: </label>\n <select name="Y" id="Y-select">\n ';h=r.numericColumns;i=h||t.numericColumns;f=r.each;p=o.program(3,m,u);p.hash={};p.fn=p;p.inverse=o.noop;i=f.call(t,i,p);if(i||i===0){s+=i}s+="\n </select>\n </div>\n\n ";s+='\n <div id="include-id">\n <label for="include-id-checkbox">Include a third column as data point IDs?</label>\n <input type="checkbox" name="include-id" id="include-id-checkbox" />\n <p class="help-text-small">\n These will be displayed (along with the x and y values) when you hover over\n a data point.\n </p>\n </div>\n <div class="column-select" style="display: none">\n <label for="ID-select">Data column for IDs: </label>\n <select name="ID" id="ID-select">\n ';h=r.allColumns;i=h||t.allColumns;f=r.each;p=o.program(5,k,u);p.hash={};p.fn=p;p.inverse=o.noop;i=f.call(t,i,p);if(i||i===0){s+=i}s+="\n </select>\n </div>\n\n ";s+='\n <div id="first-line-header" style="display: none;">\n <p>Possible headers: ';h=r.possibleHeaders;i=h||t.possibleHeaders;if(typeof i===e){i=i.call(t,{hash:{}})}else{if(i===c){i=q.call(t,"possibleHeaders",{hash:{}})}}s+=d(i)+'\n </p>\n <label for="first-line-header-checkbox">Use the above as column headers?</label>\n <input type="checkbox" name="include-id" id="first-line-header-checkbox"\n ';h=r.usePossibleHeaders;i=h||t.usePossibleHeaders;f=r["if"];p=o.program(7,j,u);p.hash={};p.fn=p;p.inverse=o.noop;i=f.call(t,i,p);if(i||i===0){s+=i}s+='/>\n <p class="help-text-small">\n It looks like Galaxy couldn\'t get proper column headers for this data.\n Would you like to use the column headers above as column names to select columns?\n </p>\n </div>\n\n <input id="render-button" type="button" value="Draw" />\n <div class="clear"></div>';return s})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-visualization-dataControl"]=b(function(g,m,f,l,k){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,g.helpers);k=k||{};var i="",d,h="function",j=this.escapeExpression,n=this;function e(r,q){var o="",p;o+='\n <option value="';if(p=f.index){p=p.call(r,{hash:{},data:q})}else{p=r.index;p=typeof p===h?p.apply(r):p}o+=j(p)+'">';if(p=f.name){p=p.call(r,{hash:{},data:q})}else{p=r.name;p=typeof p===h?p.apply(r):p}o+=j(p)+"</option>\n ";return o}function c(p,o){return'checked="true"'}i+='<p class="help-text">\n Use the following controls to change the data used by the chart.\n Use the \'Draw\' button to render (or re-render) the chart with the current settings.\n </p>\n\n \n <div class="column-select">\n <label for="X-select">Data column for X: </label>\n <select name="X" id="X-select">\n ';d=f.each.call(m,m.numericColumns,{hash:{},inverse:n.noop,fn:n.program(1,e,k),data:k});if(d||d===0){i+=d}i+='\n </select>\n </div>\n <div class="column-select">\n <label for="Y-select">Data column for Y: </label>\n <select name="Y" id="Y-select">\n ';d=f.each.call(m,m.numericColumns,{hash:{},inverse:n.noop,fn:n.program(1,e,k),data:k});if(d||d===0){i+=d}i+='\n </select>\n </div>\n\n \n <div id="include-id">\n <label for="include-id-checkbox">Include a third column as data point IDs?</label>\n <input type="checkbox" name="include-id" id="include-id-checkbox" />\n <p class="help-text-small">\n These will be displayed (along with the x and y values) when you hover over\n a data point.\n </p>\n </div>\n <div class="column-select" style="display: none">\n <label for="ID-select">Data column for IDs: </label>\n <select name="ID" id="ID-select">\n ';d=f.each.call(m,m.allColumns,{hash:{},inverse:n.noop,fn:n.program(1,e,k),data:k});if(d||d===0){i+=d}i+='\n </select>\n </div>\n\n \n <div id="first-line-header" style="display: none;">\n <p>Possible headers: ';if(d=f.possibleHeaders){d=d.call(m,{hash:{},data:k})}else{d=m.possibleHeaders;d=typeof d===h?d.apply(m):d}i+=j(d)+'\n </p>\n <label for="first-line-header-checkbox">Use the above as column headers?</label>\n <input type="checkbox" name="include-id" id="first-line-header-checkbox"\n ';d=f["if"].call(m,m.usePossibleHeaders,{hash:{},inverse:n.noop,fn:n.program(3,c,k),data:k});if(d||d===0){i+=d}i+='/>\n <p class="help-text-small">\n It looks like Galaxy couldn\'t get proper column headers for this data.\n Would you like to use the column headers above as column names to select columns?\n </p>\n </div>\n\n <input id="render-button" type="button" value="Draw" />\n <div class="clear"></div>';return i})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-visualization-scatterplotControlForm.js --- a/static/scripts/packed/templates/compiled/template-visualization-scatterplotControlForm.js +++ b/static/scripts/packed/templates/compiled/template-visualization-scatterplotControlForm.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-visualization-scatterplotControlForm"]=b(function(e,n,d,l,k){d=d||e.helpers;var i="",c,h,o=this,f="function",m=d.helperMissing,g=void 0,j=this.escapeExpression;i+='\n\n<div class="scatterplot-container chart-container tabbable tabs-left">\n ';i+='\n <ul class="nav nav-tabs">\n ';i+='\n <li class="active"><a href="#data-control" data-toggle="tab" class="tooltip"\n title="Use this tab to change which data are used">Data Controls</a></li>\n <li><a href="#chart-control" data-toggle="tab" class="tooltip"\n title="Use this tab to change how the chart is drawn">Chart Controls</a></li>\n <li><a href="#stats-display" data-toggle="tab" class="tooltip"\n title="This tab will display overall statistics for your data">Statistics</a></li>\n <li><a href="#chart-display" data-toggle="tab" class="tooltip"\n title="This tab will display the chart">Chart</a>\n ';i+='\n <div id="loading-indicator" style="display: none;">\n <img class="loading-img" src="';h=d.loadingIndicatorImagePath;c=h||n.loadingIndicatorImagePath;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"loadingIndicatorImagePath",{hash:{}})}}i+=j(c)+'" />\n <span class="loading-message">';h=d.message;c=h||n.message;if(typeof c===f){c=c.call(n,{hash:{}})}else{if(c===g){c=m.call(n,"message",{hash:{}})}}i+=j(c)+"</span>\n </div>\n </li>\n </ul>\n\n ";i+='\n <div class="tab-content">\n ';i+='\n <div id="data-control" class="tab-pane active">\n ';i+="\n </div>\n \n ";i+='\n <div id="chart-control" class="tab-pane">\n ';i+="\n </div>\n\n ";i+='\n <div id="stats-display" class="tab-pane">\n ';i+="\n </div>\n\n ";i+='\n <div id="chart-display" class="tab-pane">\n ';i+="\n </div>\n\n </div>";i+="\n</div>";return i})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-visualization-scatterplotControlForm"]=b(function(e,k,d,j,i){this.compilerInfo=[4,">= 1.0.0"];d=this.merge(d,e.helpers);i=i||{};var g="",c,f="function",h=this.escapeExpression;g+='\n\n<div class="scatterplot-container chart-container tabbable tabs-left">\n \n <ul class="nav nav-tabs">\n \n <li class="active"><a href="#data-control" data-toggle="tab" class="tooltip"\n title="Use this tab to change which data are used">Data Controls</a></li>\n <li><a href="#chart-control" data-toggle="tab" class="tooltip"\n title="Use this tab to change how the chart is drawn">Chart Controls</a></li>\n <li><a href="#stats-display" data-toggle="tab" class="tooltip"\n title="This tab will display overall statistics for your data">Statistics</a></li>\n <li><a href="#chart-display" data-toggle="tab" class="tooltip"\n title="This tab will display the chart">Chart</a>\n \n <div id="loading-indicator" style="display: none;">\n <img class="loading-img" src="';if(c=d.loadingIndicatorImagePath){c=c.call(k,{hash:{},data:i})}else{c=k.loadingIndicatorImagePath;c=typeof c===f?c.apply(k):c}g+=h(c)+'" />\n <span class="loading-message">';if(c=d.message){c=c.call(k,{hash:{},data:i})}else{c=k.message;c=typeof c===f?c.apply(k):c}g+=h(c)+'</span>\n </div>\n </li>\n </ul>\n\n \n <div class="tab-content">\n \n <div id="data-control" class="tab-pane active">\n \n </div>\n \n \n <div id="chart-control" class="tab-pane">\n \n </div>\n\n \n <div id="stats-display" class="tab-pane">\n \n </div>\n\n \n <div id="chart-display" class="tab-pane">\n \n </div>\n\n </div>\n</div>';return g})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-visualization-statsDisplay.js --- a/static/scripts/packed/templates/compiled/template-visualization-statsDisplay.js +++ b/static/scripts/packed/templates/compiled/template-visualization-statsDisplay.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-visualization-statsDisplay"]=b(function(f,p,e,n,m){e=e||f.helpers;var k="",c,r,j,i,q=this,g="function",o=e.helperMissing,h=void 0,l=this.escapeExpression;function d(v,u){var s="",t;s+="\n <tr><td>";j=e.name;t=j||v.name;if(typeof t===g){t=t.call(v,{hash:{}})}else{if(t===h){t=o.call(v,"name",{hash:{}})}}s+=l(t)+"</td><td>";j=e.xval;t=j||v.xval;if(typeof t===g){t=t.call(v,{hash:{}})}else{if(t===h){t=o.call(v,"xval",{hash:{}})}}s+=l(t)+"</td><td>";j=e.yval;t=j||v.yval;if(typeof t===g){t=t.call(v,{hash:{}})}else{if(t===h){t=o.call(v,"yval",{hash:{}})}}s+=l(t)+"</td></tr>\n </tr>\n ";return s}k+='<p class="help-text">By column:</p>\n <table id="chart-stats-table">\n <thead><th></th><th>X</th><th>Y</th></thead>\n ';j=e.stats;c=j||p.stats;r=e.each;i=q.program(1,d,m);i.hash={};i.fn=i;i.inverse=q.noop;c=r.call(p,c,i);if(c||c===0){k+=c}k+="\n </table>";return k})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-visualization-statsDisplay"]=b(function(f,l,e,k,j){this.compilerInfo=[4,">= 1.0.0"];e=this.merge(e,f.helpers);j=j||{};var h="",c,g="function",i=this.escapeExpression,m=this;function d(q,p){var n="",o;n+="\n <tr><td>";if(o=e.name){o=o.call(q,{hash:{},data:p})}else{o=q.name;o=typeof o===g?o.apply(q):o}n+=i(o)+"</td><td>";if(o=e.xval){o=o.call(q,{hash:{},data:p})}else{o=q.xval;o=typeof o===g?o.apply(q):o}n+=i(o)+"</td><td>";if(o=e.yval){o=o.call(q,{hash:{},data:p})}else{o=q.yval;o=typeof o===g?o.apply(q):o}n+=i(o)+"</td></tr>\n </tr>\n ";return n}h+='<p class="help-text">By column:</p>\n <table id="chart-stats-table">\n <thead><th></th><th>X</th><th>Y</th></thead>\n ';c=e.each.call(l,l.stats,{hash:{},inverse:m.noop,fn:m.program(1,d,j),data:j});if(c||c===0){h+=c}h+="\n </table>";return h})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/template-warningmessagesmall.js --- a/static/scripts/packed/templates/compiled/template-warningmessagesmall.js +++ b/static/scripts/packed/templates/compiled/template-warningmessagesmall.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-warningmessagesmall"]=b(function(e,m,d,k,j){d=d||e.helpers;var i="",c,h,n=this,f="function",l=d.helperMissing,g=void 0;i+=' \n <div class="warningmessagesmall"><strong>';h=d.warning;c=h||m.warning;if(typeof c===f){c=c.call(m,{hash:{}})}else{if(c===g){c=l.call(m,"warning",{hash:{}})}}if(c||c===0){i+=c}i+="</strong></div>";return i})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a["template-warningmessagesmall"]=b(function(i,j,f,d,g){this.compilerInfo=[4,">= 1.0.0"];f=this.merge(f,i.helpers);g=g||{};var c="",e,h="function";c+=' \n <div class="warningmessagesmall"><strong>';if(e=f.warning){e=e.call(j,{hash:{},data:g})}else{e=j.warning;e=typeof e===h?e.apply(j):e}if(e||e===0){c+=e}c+="</strong></div>";return c})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/tool_form.js --- a/static/scripts/packed/templates/compiled/tool_form.js +++ b/static/scripts/packed/templates/compiled/tool_form.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_form=b(function(f,l,e,k,j){this.compilerInfo=[2,">= 1.0.0-rc.3"];e=e||f.helpers;j=j||{};var h="",c,g="function",i=this.escapeExpression,m=this;function d(q,p){var n="",o;n+='\n <div class="form-row">\n <label for="';if(o=e.name){o=o.call(q,{hash:{},data:p})}else{o=q.name;o=typeof o===g?o.apply(q):o}n+=i(o)+'">';if(o=e.label){o=o.call(q,{hash:{},data:p})}else{o=q.label;o=typeof o===g?o.apply(q):o}n+=i(o)+':</label>\n <div class="form-row-input">\n ';if(o=e.html){o=o.call(q,{hash:{},data:p})}else{o=q.html;o=typeof o===g?o.apply(q):o}if(o||o===0){n+=o}n+='\n </div>\n <div class="toolParamHelp" style="clear: both;">\n ';if(o=e.help){o=o.call(q,{hash:{},data:p})}else{o=q.help;o=typeof o===g?o.apply(q):o}n+=i(o)+'\n </div>\n <div style="clear: both;"></div>\n </div>\n ';return n}h+='<div class="toolFormTitle">';if(c=e.name){c=c.call(l,{hash:{},data:j})}else{c=l.name;c=typeof c===g?c.apply(l):c}h+=i(c)+" (version ";if(c=e.version){c=c.call(l,{hash:{},data:j})}else{c=l.version;c=typeof c===g?c.apply(l):c}h+=i(c)+')</div>\n <div class="toolFormBody">\n ';c=e.each.call(l,l.inputs,{hash:{},inverse:m.noop,fn:m.program(1,d,j),data:j});if(c||c===0){h+=c}h+='\n </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">';if(c=e.help){c=c.call(l,{hash:{},data:j})}else{c=l.help;c=typeof c===g?c.apply(l):c}h+=i(c)+"</div>\n</div>";return h})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_form=b(function(f,l,e,k,j){this.compilerInfo=[4,">= 1.0.0"];e=this.merge(e,f.helpers);j=j||{};var h="",c,g="function",i=this.escapeExpression,m=this;function d(q,p){var n="",o;n+='\n <div class="form-row">\n <label for="';if(o=e.name){o=o.call(q,{hash:{},data:p})}else{o=q.name;o=typeof o===g?o.apply(q):o}n+=i(o)+'">';if(o=e.label){o=o.call(q,{hash:{},data:p})}else{o=q.label;o=typeof o===g?o.apply(q):o}n+=i(o)+':</label>\n <div class="form-row-input">\n ';if(o=e.html){o=o.call(q,{hash:{},data:p})}else{o=q.html;o=typeof o===g?o.apply(q):o}if(o||o===0){n+=o}n+='\n </div>\n <div class="toolParamHelp" style="clear: both;">\n ';if(o=e.help){o=o.call(q,{hash:{},data:p})}else{o=q.help;o=typeof o===g?o.apply(q):o}n+=i(o)+'\n </div>\n <div style="clear: both;"></div>\n </div>\n ';return n}h+='<div class="toolFormTitle">';if(c=e.name){c=c.call(l,{hash:{},data:j})}else{c=l.name;c=typeof c===g?c.apply(l):c}h+=i(c)+" (version ";if(c=e.version){c=c.call(l,{hash:{},data:j})}else{c=l.version;c=typeof c===g?c.apply(l):c}h+=i(c)+')</div>\n <div class="toolFormBody">\n ';c=e.each.call(l,l.inputs,{hash:{},inverse:m.noop,fn:m.program(1,d,j),data:j});if(c||c===0){h+=c}h+='\n </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">';if(c=e.help){c=c.call(l,{hash:{},data:j})}else{c=l.help;c=typeof c===g?c.apply(l):c}h+=i(c)+"</div>\n</div>";return h})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/tool_link.js --- a/static/scripts/packed/templates/compiled/tool_link.js +++ b/static/scripts/packed/templates/compiled/tool_link.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_link=b(function(e,k,d,j,i){this.compilerInfo=[2,">= 1.0.0-rc.3"];d=d||e.helpers;i=i||{};var g="",c,f="function",h=this.escapeExpression;g+='<a class="';if(c=d.id){c=c.call(k,{hash:{},data:i})}else{c=k.id;c=typeof c===f?c.apply(k):c}g+=h(c)+' tool-link" href="';if(c=d.link){c=c.call(k,{hash:{},data:i})}else{c=k.link;c=typeof c===f?c.apply(k):c}g+=h(c)+'" target="';if(c=d.target){c=c.call(k,{hash:{},data:i})}else{c=k.target;c=typeof c===f?c.apply(k):c}g+=h(c)+'" minsizehint="';if(c=d.min_width){c=c.call(k,{hash:{},data:i})}else{c=k.min_width;c=typeof c===f?c.apply(k):c}g+=h(c)+'">';if(c=d.name){c=c.call(k,{hash:{},data:i})}else{c=k.name;c=typeof c===f?c.apply(k):c}g+=h(c)+"</a> ";if(c=d.description){c=c.call(k,{hash:{},data:i})}else{c=k.description;c=typeof c===f?c.apply(k):c}g+=h(c);return g})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_link=b(function(e,k,d,j,i){this.compilerInfo=[4,">= 1.0.0"];d=this.merge(d,e.helpers);i=i||{};var g="",c,f="function",h=this.escapeExpression;g+='<a class="';if(c=d.id){c=c.call(k,{hash:{},data:i})}else{c=k.id;c=typeof c===f?c.apply(k):c}g+=h(c)+' tool-link" href="';if(c=d.link){c=c.call(k,{hash:{},data:i})}else{c=k.link;c=typeof c===f?c.apply(k):c}g+=h(c)+'" target="';if(c=d.target){c=c.call(k,{hash:{},data:i})}else{c=k.target;c=typeof c===f?c.apply(k):c}g+=h(c)+'" minsizehint="';if(c=d.min_width){c=c.call(k,{hash:{},data:i})}else{c=k.min_width;c=typeof c===f?c.apply(k):c}g+=h(c)+'">';if(c=d.name){c=c.call(k,{hash:{},data:i})}else{c=k.name;c=typeof c===f?c.apply(k):c}g+=h(c)+"</a> ";if(c=d.description){c=c.call(k,{hash:{},data:i})}else{c=k.description;c=typeof c===f?c.apply(k):c}g+=h(c);return g})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/packed/templates/compiled/tool_search.js --- a/static/scripts/packed/templates/compiled/tool_search.js +++ b/static/scripts/packed/templates/compiled/tool_search.js @@ -1,1 +1,1 @@ -(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_search=b(function(e,k,d,j,i){this.compilerInfo=[2,">= 1.0.0-rc.3"];d=d||e.helpers;i=i||{};var g="",c,f="function",h=this.escapeExpression;g+='<input type="text" name="query" value="';if(c=d.search_hint_string){c=c.call(k,{hash:{},data:i})}else{c=k.search_hint_string;c=typeof c===f?c.apply(k):c}g+=h(c)+'" id="tool-search-query" autocomplete="off" class="search-query parent-width" />\n<a id="search-clear-btn" class="tooltip" title="clear search (esc)"></a>\n<img src="';if(c=d.spinner_url){c=c.call(k,{hash:{},data:i})}else{c=k.spinner_url;c=typeof c===f?c.apply(k):c}g+=h(c)+'" id="search-spinner" class="search-spinner"/>';return g})})(); \ No newline at end of file +(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_search=b(function(e,k,d,j,i){this.compilerInfo=[4,">= 1.0.0"];d=this.merge(d,e.helpers);i=i||{};var g="",c,f="function",h=this.escapeExpression;g+='<input type="text" name="query" value="';if(c=d.search_hint_string){c=c.call(k,{hash:{},data:i})}else{c=k.search_hint_string;c=typeof c===f?c.apply(k):c}g+=h(c)+'" id="tool-search-query" autocomplete="off" class="search-query parent-width" />\n<a id="search-clear-btn" class="tooltip" title="clear search (esc)"></a>\n<img src="';if(c=d.spinner_url){c=c.call(k,{hash:{},data:i})}else{c=k.spinner_url;c=typeof c===f?c.apply(k):c}g+=h(c)+'" id="search-spinner" class="search-spinner"/>';return g})})(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/templates/compiled/helpers-common-templates.js --- a/static/scripts/templates/compiled/helpers-common-templates.js +++ b/static/scripts/templates/compiled/helpers-common-templates.js @@ -13,31 +13,4 @@ */ Handlebars.registerHelper( 'local', function( options ){ return _l( options.fn( this ) ); -}); -/** Renders a glx style icon-button (see IconButton in mvc/ui.js) - * can be used in either of the following ways: - * within a template: {{> iconButton buttonData}} - * from js: var templated = ( Handlebars.partials.iconButton( buttonData ) ); - */ -Handlebars.registerPartial( 'iconButton', function( buttonData, options ){ - var buffer = ""; - buffer += ( buttonData.enabled )?( '<a' ):( '<span' ); - - if( buttonData.title ){ buffer += ' title="' + buttonData.title + '"'; } - - buffer += ' class="icon-button'; - if( buttonData.isMenuButton ){ buffer += ' menu-button'; } - if( buttonData.title ){ buffer += ' tooltip'; } - buffer += ' ' + buttonData.icon_class; - if( !buttonData.enabled ){ buffer += '_disabled'; } - buffer += '"'; - - if( buttonData.id ){ buffer += ' id="' + buttonData.id + '"'; } - buffer += ' href="' + ( ( buttonData.href )?( buttonData.href ):( 'javascript:void(0);' ) ) + '"'; - if( buttonData.target ){ buffer += ' target="' + buttonData.target + '"'; } - - if( !buttonData.visible ){ buffer += ' style="display: none;"'; } - - buffer += '>' + ( ( buttonData.enabled )?( '</a>' ):( '</span>' ) ); - return buffer; }); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/templates/compiled/panel_section.js --- a/static/scripts/templates/compiled/panel_section.js +++ b/static/scripts/templates/compiled/panel_section.js @@ -1,8 +1,8 @@ (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['panel_section'] = template(function (Handlebars,depth0,helpers,partials,data) { - this.compilerInfo = [2,'>= 1.0.0-rc.3']; -helpers = helpers || Handlebars.helpers; data = data || {}; + this.compilerInfo = [4,'>= 1.0.0']; +helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; var buffer = "", stack1, functionType="function", escapeExpression=this.escapeExpression; diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/templates/compiled/template-hda-annotationArea.js --- a/static/scripts/templates/compiled/template-hda-annotationArea.js +++ b/static/scripts/templates/compiled/template-hda-annotationArea.js @@ -1,49 +1,43 @@ (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['template-hda-annotationArea'] = template(function (Handlebars,depth0,helpers,partials,data) { - helpers = helpers || Handlebars.helpers; - var buffer = "", stack1, foundHelper, tmp1, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression, blockHelperMissing=helpers.blockHelperMissing; + this.compilerInfo = [4,'>= 1.0.0']; +helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; + var buffer = "", stack1, options, functionType="function", escapeExpression=this.escapeExpression, self=this, blockHelperMissing=helpers.blockHelperMissing; function program1(depth0,data) { - return "Annotation";} + return "Annotation"; + } function program3(depth0,data) { - return "Edit dataset annotation";} + return "Edit dataset annotation"; + } buffer += "\n<div id=\""; - foundHelper = helpers.id; - stack1 = foundHelper || depth0.id; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "id", { hash: {} }); } - buffer += escapeExpression(stack1) + "-annotation-area\" class=\"annotation-area\" style=\"display: none;\">\n <strong>"; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(1, program1, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + if (stack1 = helpers.id) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "-annotation-area\" class=\"annotation-area\" style=\"display: none;\">\n <strong>"; + options = {hash:{},inverse:self.noop,fn:self.program(1, program1, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += ":</strong>\n <div id=\""; - foundHelper = helpers.id; - stack1 = foundHelper || depth0.id; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "id", { hash: {} }); } - buffer += escapeExpression(stack1) + "-anotation-elt\" class=\"annotation-elt tooltip editable-text\"\n style=\"margin: 1px 0px 1px 0px\" title=\""; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(3, program3, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + if (stack1 = helpers.id) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "-anotation-elt\" class=\"annotation-elt tooltip editable-text\"\n style=\"margin: 1px 0px 1px 0px\" title=\""; + options = {hash:{},inverse:self.noop,fn:self.program(3, program3, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\">\n </div>\n</div>"; - return buffer;}); + return buffer; + }); })(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/templates/compiled/template-hda-displayApps.js --- a/static/scripts/templates/compiled/template-hda-displayApps.js +++ b/static/scripts/templates/compiled/template-hda-displayApps.js @@ -1,71 +1,53 @@ (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['template-hda-displayApps'] = template(function (Handlebars,depth0,helpers,partials,data) { - helpers = helpers || Handlebars.helpers; - var stack1, stack2, foundHelper, tmp1, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression, blockHelperMissing=helpers.blockHelperMissing; + this.compilerInfo = [4,'>= 1.0.0']; +helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; + var stack1, functionType="function", escapeExpression=this.escapeExpression, self=this, blockHelperMissing=helpers.blockHelperMissing; function program1(depth0,data) { - var buffer = "", stack1, stack2; + var buffer = "", stack1; buffer += "\n "; - foundHelper = helpers.label; - stack1 = foundHelper || depth0.label; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "label", { hash: {} }); } - buffer += escapeExpression(stack1) + "\n "; - foundHelper = helpers.links; - stack1 = foundHelper || depth0.links; - stack2 = helpers.each; - tmp1 = self.program(2, program2, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); + if (stack1 = helpers.label) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.label; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "\n "; + stack1 = helpers.each.call(depth0, depth0.links, {hash:{},inverse:self.noop,fn:self.program(2, program2, data),data:data}); if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\n <br />\n"; - return buffer;} + return buffer; + } function program2(depth0,data) { - var buffer = "", stack1; + var buffer = "", stack1, options; buffer += "\n <a target=\""; - foundHelper = helpers.target; - stack1 = foundHelper || depth0.target; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "target", { hash: {} }); } - buffer += escapeExpression(stack1) + "\" href=\""; - foundHelper = helpers.href; - stack1 = foundHelper || depth0.href; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "href", { hash: {} }); } - buffer += escapeExpression(stack1) + "\">"; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(3, program3, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + if (stack1 = helpers.target) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.target; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "\" href=\""; + if (stack1 = helpers.href) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.href; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "\">"; + options = {hash:{},inverse:self.noop,fn:self.program(3, program3, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "</a>\n "; - return buffer;} + return buffer; + } function program3(depth0,data) { var stack1; - foundHelper = helpers.text; - stack1 = foundHelper || depth0.text; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "text", { hash: {} }); } - return escapeExpression(stack1);} + if (stack1 = helpers.text) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.text; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + return escapeExpression(stack1); + } - foundHelper = helpers.displayApps; - stack1 = foundHelper || depth0.displayApps; - stack2 = helpers.each; - tmp1 = self.program(1, program1, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); + stack1 = helpers.each.call(depth0, depth0.displayApps, {hash:{},inverse:self.noop,fn:self.program(1, program1, data),data:data}); if(stack1 || stack1 === 0) { return stack1; } - else { return ''; }}); + else { return ''; } + }); })(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/templates/compiled/template-hda-downloadLinks.js --- a/static/scripts/templates/compiled/template-hda-downloadLinks.js +++ b/static/scripts/templates/compiled/template-hda-downloadLinks.js @@ -1,158 +1,105 @@ (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['template-hda-downloadLinks'] = template(function (Handlebars,depth0,helpers,partials,data) { - helpers = helpers || Handlebars.helpers; - var stack1, stack2, foundHelper, tmp1, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression, blockHelperMissing=helpers.blockHelperMissing; + this.compilerInfo = [4,'>= 1.0.0']; +helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; + var stack1, stack2, functionType="function", escapeExpression=this.escapeExpression, self=this, blockHelperMissing=helpers.blockHelperMissing; function program1(depth0,data) { - var buffer = "", stack1, stack2; + var buffer = "", stack1, stack2, options; buffer += "\n<div popupmenu=\"dataset-"; - foundHelper = helpers.id; - stack1 = foundHelper || depth0.id; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "id", { hash: {} }); } - buffer += escapeExpression(stack1) + "-popup\">\n <a class=\"action-button\" href=\""; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.download); - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "urls.download", { hash: {} }); } - buffer += escapeExpression(stack1) + "\">"; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(2, program2, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } - if(stack1 || stack1 === 0) { buffer += stack1; } + if (stack1 = helpers.id) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "-popup\">\n <a class=\"action-button\" href=\"" + + escapeExpression(((stack1 = ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.download)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1)) + + "\">"; + options = {hash:{},inverse:self.noop,fn:self.program(2, program2, data),data:data}; + if (stack2 = helpers.local) { stack2 = stack2.call(depth0, options); } + else { stack2 = depth0.local; stack2 = typeof stack2 === functionType ? stack2.apply(depth0) : stack2; } + if (!helpers.local) { stack2 = blockHelperMissing.call(depth0, stack2, options); } + if(stack2 || stack2 === 0) { buffer += stack2; } buffer += "</a>\n <a>"; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(4, program4, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } - if(stack1 || stack1 === 0) { buffer += stack1; } + options = {hash:{},inverse:self.noop,fn:self.program(4, program4, data),data:data}; + if (stack2 = helpers.local) { stack2 = stack2.call(depth0, options); } + else { stack2 = depth0.local; stack2 = typeof stack2 === functionType ? stack2.apply(depth0) : stack2; } + if (!helpers.local) { stack2 = blockHelperMissing.call(depth0, stack2, options); } + if(stack2 || stack2 === 0) { buffer += stack2; } buffer += "</a>\n "; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.meta_download); - stack2 = helpers.each; - tmp1 = self.program(6, program6, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); - if(stack1 || stack1 === 0) { buffer += stack1; } + stack2 = helpers.each.call(depth0, ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.meta_download), {hash:{},inverse:self.noop,fn:self.program(6, program6, data),data:data}); + if(stack2 || stack2 === 0) { buffer += stack2; } buffer += "\n</div>\n<div style=\"float:left;\" class=\"menubutton split popup\" id=\"dataset-"; - foundHelper = helpers.id; - stack1 = foundHelper || depth0.id; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "id", { hash: {} }); } - buffer += escapeExpression(stack1) + "-popup\">\n <a href=\""; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.download); - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "urls.download", { hash: {} }); } - buffer += escapeExpression(stack1) + "\" title=\""; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(9, program9, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } - if(stack1 || stack1 === 0) { buffer += stack1; } + if (stack2 = helpers.id) { stack2 = stack2.call(depth0, {hash:{},data:data}); } + else { stack2 = depth0.id; stack2 = typeof stack2 === functionType ? stack2.apply(depth0) : stack2; } + buffer += escapeExpression(stack2) + + "-popup\">\n <a href=\"" + + escapeExpression(((stack1 = ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.download)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1)) + + "\" title=\""; + options = {hash:{},inverse:self.noop,fn:self.program(7, program7, data),data:data}; + if (stack2 = helpers.local) { stack2 = stack2.call(depth0, options); } + else { stack2 = depth0.local; stack2 = typeof stack2 === functionType ? stack2.apply(depth0) : stack2; } + if (!helpers.local) { stack2 = blockHelperMissing.call(depth0, stack2, options); } + if(stack2 || stack2 === 0) { buffer += stack2; } buffer += "\" class=\"icon-button disk tooltip\"></a>\n</div>\n"; - return buffer;} + return buffer; + } function program2(depth0,data) { - return "Download Dataset";} + return "Download Dataset"; + } function program4(depth0,data) { - return "Additional Files";} + return "Additional Files"; + } function program6(depth0,data) { - var buffer = "", stack1; + var buffer = "", stack1, options; buffer += "\n <a class=\"action-button\" href=\""; - foundHelper = helpers.url; - stack1 = foundHelper || depth0.url; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "url", { hash: {} }); } - buffer += escapeExpression(stack1) + "\">"; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(7, program7, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + if (stack1 = helpers.url) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.url; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "\">"; + options = {hash:{},inverse:self.noop,fn:self.program(7, program7, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += " "; - foundHelper = helpers.file_type; - stack1 = foundHelper || depth0.file_type; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "file_type", { hash: {} }); } - buffer += escapeExpression(stack1) + "</a>\n "; - return buffer;} + if (stack1 = helpers.file_type) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.file_type; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "</a>\n "; + return buffer; + } function program7(depth0,data) { - return "Download";} + return "Download"; + } function program9(depth0,data) { - - return "Download";} + var buffer = "", stack1, stack2, options; + buffer += "\n" + + "\n<a href=\"" + + escapeExpression(((stack1 = ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.download)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1)) + + "\" title=\""; + options = {hash:{},inverse:self.noop,fn:self.program(7, program7, data),data:data}; + if (stack2 = helpers.local) { stack2 = stack2.call(depth0, options); } + else { stack2 = depth0.local; stack2 = typeof stack2 === functionType ? stack2.apply(depth0) : stack2; } + if (!helpers.local) { stack2 = blockHelperMissing.call(depth0, stack2, options); } + if(stack2 || stack2 === 0) { buffer += stack2; } + buffer += "\" class=\"icon-button disk tooltip\"></a>\n"; + return buffer; + } -function program11(depth0,data) { - - var buffer = "", stack1; - buffer += "\n"; - buffer += "\n<a href=\""; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.download); - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "urls.download", { hash: {} }); } - buffer += escapeExpression(stack1) + "\" title=\""; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(12, program12, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } - if(stack1 || stack1 === 0) { buffer += stack1; } - buffer += "\" class=\"icon-button disk tooltip\"></a>\n"; - return buffer;} -function program12(depth0,data) { - - - return "Download";} - - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.meta_download); - stack2 = helpers['if']; - tmp1 = self.program(1, program1, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.program(11, program11, data); - stack1 = stack2.call(depth0, stack1, tmp1); - if(stack1 || stack1 === 0) { return stack1; } - else { return ''; }}); + stack2 = helpers['if'].call(depth0, ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.meta_download), {hash:{},inverse:self.program(9, program9, data),fn:self.program(1, program1, data),data:data}); + if(stack2 || stack2 === 0) { return stack2; } + else { return ''; } + }); })(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/templates/compiled/template-hda-failedMetadata.js --- a/static/scripts/templates/compiled/template-hda-failedMetadata.js +++ b/static/scripts/templates/compiled/template-hda-failedMetadata.js @@ -1,43 +1,35 @@ (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['template-hda-failedMetadata'] = template(function (Handlebars,depth0,helpers,partials,data) { - helpers = helpers || Handlebars.helpers; - var stack1, foundHelper, tmp1, self=this, functionType="function", blockHelperMissing=helpers.blockHelperMissing, helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression; + this.compilerInfo = [4,'>= 1.0.0']; +helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; + var stack1, options, self=this, functionType="function", blockHelperMissing=helpers.blockHelperMissing, escapeExpression=this.escapeExpression; function program1(depth0,data) { - var buffer = "", stack1; + var buffer = "", stack1, options; buffer += "\n"; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(2, program2, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + options = {hash:{},inverse:self.noop,fn:self.program(2, program2, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } - buffer += "\nYou may be able to <a href=\""; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.edit); - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "urls.edit", { hash: {} }); } - buffer += escapeExpression(stack1) + "\" target=\"galaxy_main\">set it manually or retry auto-detection</a>.\n"; - return buffer;} + buffer += "\nYou may be able to <a href=\"" + + escapeExpression(((stack1 = ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.edit)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1)) + + "\" target=\"galaxy_main\">set it manually or retry auto-detection</a>.\n"; + return buffer; + } function program2(depth0,data) { - return "An error occurred setting the metadata for this dataset.";} + return "An error occurred setting the metadata for this dataset."; + } - foundHelper = helpers.warningmessagesmall; - stack1 = foundHelper || depth0.warningmessagesmall; - tmp1 = self.program(1, program1, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + options = {hash:{},inverse:self.noop,fn:self.program(1, program1, data),data:data}; + if (stack1 = helpers.warningmessagesmall) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.warningmessagesmall; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.warningmessagesmall) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { return stack1; } - else { return ''; }}); + else { return ''; } + }); })(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/templates/compiled/template-hda-hdaSummary.js --- a/static/scripts/templates/compiled/template-hda-hdaSummary.js +++ b/static/scripts/templates/compiled/template-hda-hdaSummary.js @@ -1,117 +1,91 @@ (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['template-hda-hdaSummary'] = template(function (Handlebars,depth0,helpers,partials,data) { - helpers = helpers || Handlebars.helpers; - var buffer = "", stack1, stack2, foundHelper, tmp1, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression, blockHelperMissing=helpers.blockHelperMissing; + this.compilerInfo = [4,'>= 1.0.0']; +helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; + var buffer = "", stack1, options, functionType="function", escapeExpression=this.escapeExpression, self=this, blockHelperMissing=helpers.blockHelperMissing; function program1(depth0,data) { - return "format: ";} + return "format: "; + } function program3(depth0,data) { - return "database: ";} + return "database: "; + } function program5(depth0,data) { - var buffer = "", stack1; - buffer += "\n <a class=\"metadata-dbkey\" href=\""; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.edit); - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "urls.edit", { hash: {} }); } - buffer += escapeExpression(stack1) + "\" target=\"galaxy_main\">"; - foundHelper = helpers.metadata_dbkey; - stack1 = foundHelper || depth0.metadata_dbkey; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "metadata_dbkey", { hash: {} }); } - buffer += escapeExpression(stack1) + "</a>\n "; - return buffer;} + var buffer = "", stack1, stack2; + buffer += "\n <a class=\"metadata-dbkey\" href=\"" + + escapeExpression(((stack1 = ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.edit)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1)) + + "\" target=\"galaxy_main\">"; + if (stack2 = helpers.metadata_dbkey) { stack2 = stack2.call(depth0, {hash:{},data:data}); } + else { stack2 = depth0.metadata_dbkey; stack2 = typeof stack2 === functionType ? stack2.apply(depth0) : stack2; } + buffer += escapeExpression(stack2) + + "</a>\n "; + return buffer; + } function program7(depth0,data) { var buffer = "", stack1; buffer += "\n <span class=\"metadata-dbkey "; - foundHelper = helpers.metadata_dbkey; - stack1 = foundHelper || depth0.metadata_dbkey; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "metadata_dbkey", { hash: {} }); } - buffer += escapeExpression(stack1) + "\">"; - foundHelper = helpers.metadata_dbkey; - stack1 = foundHelper || depth0.metadata_dbkey; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "metadata_dbkey", { hash: {} }); } - buffer += escapeExpression(stack1) + "</span>\n "; - return buffer;} + if (stack1 = helpers.metadata_dbkey) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.metadata_dbkey; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "\">"; + if (stack1 = helpers.metadata_dbkey) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.metadata_dbkey; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "</span>\n "; + return buffer; + } function program9(depth0,data) { var buffer = "", stack1; buffer += "\n<div class=\"hda-info\"> "; - foundHelper = helpers.misc_info; - stack1 = foundHelper || depth0.misc_info; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "misc_info", { hash: {} }); } - buffer += escapeExpression(stack1) + " </div>\n"; - return buffer;} + if (stack1 = helpers.misc_info) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.misc_info; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + " </div>\n"; + return buffer; + } buffer += "<div class=\"hda-summary\">\n "; - foundHelper = helpers.misc_blurb; - stack1 = foundHelper || depth0.misc_blurb; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "misc_blurb", { hash: {} }); } - buffer += escapeExpression(stack1) + "<br />\n "; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(1, program1, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + if (stack1 = helpers.misc_blurb) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.misc_blurb; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "<br />\n "; + options = {hash:{},inverse:self.noop,fn:self.program(1, program1, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "<span class=\""; - foundHelper = helpers.data_type; - stack1 = foundHelper || depth0.data_type; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "data_type", { hash: {} }); } - buffer += escapeExpression(stack1) + "\">"; - foundHelper = helpers.data_type; - stack1 = foundHelper || depth0.data_type; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "data_type", { hash: {} }); } - buffer += escapeExpression(stack1) + "</span>,\n "; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(3, program3, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + if (stack1 = helpers.data_type) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.data_type; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "\">"; + if (stack1 = helpers.data_type) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.data_type; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "</span>,\n "; + options = {hash:{},inverse:self.noop,fn:self.program(3, program3, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\n "; - foundHelper = helpers.dbkey_unknown_and_editable; - stack1 = foundHelper || depth0.dbkey_unknown_and_editable; - stack2 = helpers['if']; - tmp1 = self.program(5, program5, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.program(7, program7, data); - stack1 = stack2.call(depth0, stack1, tmp1); + stack1 = helpers['if'].call(depth0, depth0.dbkey_unknown_and_editable, {hash:{},inverse:self.program(7, program7, data),fn:self.program(5, program5, data),data:data}); if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\n</div>\n"; - foundHelper = helpers.misc_info; - stack1 = foundHelper || depth0.misc_info; - stack2 = helpers['if']; - tmp1 = self.program(9, program9, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); + stack1 = helpers['if'].call(depth0, depth0.misc_info, {hash:{},inverse:self.noop,fn:self.program(9, program9, data),data:data}); if(stack1 || stack1 === 0) { buffer += stack1; } - return buffer;}); + return buffer; + }); })(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/templates/compiled/template-hda-tagArea.js --- a/static/scripts/templates/compiled/template-hda-tagArea.js +++ b/static/scripts/templates/compiled/template-hda-tagArea.js @@ -1,24 +1,23 @@ (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['template-hda-tagArea'] = template(function (Handlebars,depth0,helpers,partials,data) { - helpers = helpers || Handlebars.helpers; - var buffer = "", stack1, foundHelper, tmp1, self=this, functionType="function", blockHelperMissing=helpers.blockHelperMissing; + this.compilerInfo = [4,'>= 1.0.0']; +helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; + var buffer = "", stack1, options, self=this, functionType="function", blockHelperMissing=helpers.blockHelperMissing; function program1(depth0,data) { - return "Tags";} + return "Tags"; + } buffer += "\n<div class=\"tag-area\" style=\"display: none;\">\n <strong>"; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(1, program1, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + options = {hash:{},inverse:self.noop,fn:self.program(1, program1, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += ":</strong>\n <div class=\"tag-elt\">\n </div>\n</div>"; - return buffer;}); + return buffer; + }); })(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/templates/compiled/template-hda-titleLink.js --- a/static/scripts/templates/compiled/template-hda-titleLink.js +++ b/static/scripts/templates/compiled/template-hda-titleLink.js @@ -1,20 +1,20 @@ (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['template-hda-titleLink'] = template(function (Handlebars,depth0,helpers,partials,data) { - helpers = helpers || Handlebars.helpers; - var buffer = "", stack1, foundHelper, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression; + this.compilerInfo = [4,'>= 1.0.0']; +helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; + var buffer = "", stack1, functionType="function", escapeExpression=this.escapeExpression; buffer += "<span class=\"historyItemTitle\">"; - foundHelper = helpers.hid; - stack1 = foundHelper || depth0.hid; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "hid", { hash: {} }); } - buffer += escapeExpression(stack1) + ": "; - foundHelper = helpers.name; - stack1 = foundHelper || depth0.name; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "name", { hash: {} }); } - buffer += escapeExpression(stack1) + "</span>"; - return buffer;}); + if (stack1 = helpers.hid) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.hid; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + ": "; + if (stack1 = helpers.name) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.name; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + buffer += escapeExpression(stack1) + + "</span>"; + return buffer; + }); })(); \ No newline at end of file diff -r 0d6d8af4154353a60ab3c8d95d80a0b2447409ef -r 1f45ab84c1217c0b65a840a90ef60ff267d0d946 static/scripts/templates/compiled/template-hda-warning-messages.js --- a/static/scripts/templates/compiled/template-hda-warning-messages.js +++ b/static/scripts/templates/compiled/template-hda-warning-messages.js @@ -1,284 +1,194 @@ (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['template-hda-warning-messages'] = template(function (Handlebars,depth0,helpers,partials,data) { - helpers = helpers || Handlebars.helpers; - var buffer = "", stack1, stack2, foundHelper, tmp1, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression, blockHelperMissing=helpers.blockHelperMissing; + this.compilerInfo = [4,'>= 1.0.0']; +helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; + var buffer = "", stack1, functionType="function", escapeExpression=this.escapeExpression, self=this, blockHelperMissing=helpers.blockHelperMissing; function program1(depth0,data) { - var buffer = "", stack1; + var buffer = "", stack1, options; buffer += "\n<div class=\"errormessagesmall\">\n "; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(2, program2, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + options = {hash:{},inverse:self.noop,fn:self.program(2, program2, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += ":\n "; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(4, program4, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + options = {hash:{},inverse:self.noop,fn:self.program(4, program4, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\n</div>\n"; - return buffer;} + return buffer; + } function program2(depth0,data) { - return "There was an error getting the data for this dataset";} + return "There was an error getting the data for this dataset"; + } function program4(depth0,data) { var stack1; - foundHelper = helpers.error; - stack1 = foundHelper || depth0.error; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "error", { hash: {} }); } - return escapeExpression(stack1);} + if (stack1 = helpers.error) { stack1 = stack1.call(depth0, {hash:{},data:data}); } + else { stack1 = depth0.error; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + return escapeExpression(stack1); + } function program6(depth0,data) { - var stack1, stack2; - foundHelper = helpers.purged; - stack1 = foundHelper || depth0.purged; - stack2 = helpers.unless; - tmp1 = self.program(7, program7, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); + var stack1; + stack1 = helpers.unless.call(depth0, depth0.purged, {hash:{},inverse:self.noop,fn:self.program(7, program7, data),data:data}); if(stack1 || stack1 === 0) { return stack1; } - else { return ''; }} + else { return ''; } + } function program7(depth0,data) { - var buffer = "", stack1; + var buffer = "", stack1, options; buffer += "\n"; - foundHelper = helpers.warningmessagesmall; - stack1 = foundHelper || depth0.warningmessagesmall; - tmp1 = self.program(8, program8, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + options = {hash:{},inverse:self.noop,fn:self.program(8, program8, data),data:data}; + if (stack1 = helpers.warningmessagesmall) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.warningmessagesmall; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.warningmessagesmall) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\n"; - return buffer;} + return buffer; + } function program8(depth0,data) { - var buffer = "", stack1, stack2; + var buffer = "", stack1, stack2, options; buffer += "\n "; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(9, program9, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + options = {hash:{},inverse:self.noop,fn:self.program(9, program9, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\n "; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.undelete); - stack2 = helpers['if']; - tmp1 = self.program(11, program11, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); - if(stack1 || stack1 === 0) { buffer += stack1; } + stack2 = helpers['if'].call(depth0, ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.undelete), {hash:{},inverse:self.noop,fn:self.program(11, program11, data),data:data}); + if(stack2 || stack2 === 0) { buffer += stack2; } buffer += "\n"; - return buffer;} + return buffer; + } function program9(depth0,data) { - return "This dataset has been deleted.";} + return "This dataset has been deleted."; + } function program11(depth0,data) { var buffer = "", stack1, stack2; - buffer += "\n "; - buffer += "\n Click <a href=\""; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.undelete); - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "urls.undelete", { hash: {} }); } - buffer += escapeExpression(stack1) + "\" class=\"historyItemUndelete\" id=\"historyItemUndeleter-"; - foundHelper = helpers.id; - stack1 = foundHelper || depth0.id; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "id", { hash: {} }); } - buffer += escapeExpression(stack1) + "\"\n target=\"galaxy_history\">here</a> to undelete it\n "; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.purge); - stack2 = helpers['if']; - tmp1 = self.program(12, program12, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); - if(stack1 || stack1 === 0) { buffer += stack1; } + buffer += "\n " + + "\n Click <a href=\"" + + escapeExpression(((stack1 = ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.undelete)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1)) + + "\" class=\"historyItemUndelete\" id=\"historyItemUndeleter-"; + if (stack2 = helpers.id) { stack2 = stack2.call(depth0, {hash:{},data:data}); } + else { stack2 = depth0.id; stack2 = typeof stack2 === functionType ? stack2.apply(depth0) : stack2; } + buffer += escapeExpression(stack2) + + "\"\n target=\"galaxy_history\">here</a> to undelete it\n "; + stack2 = helpers['if'].call(depth0, ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.purge), {hash:{},inverse:self.noop,fn:self.program(12, program12, data),data:data}); + if(stack2 || stack2 === 0) { buffer += stack2; } buffer += "\n "; - return buffer;} + return buffer; + } function program12(depth0,data) { - var buffer = "", stack1; - buffer += "\n or <a href=\""; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.purge); - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "urls.purge", { hash: {} }); } - buffer += escapeExpression(stack1) + "\" class=\"historyItemPurge\" id=\"historyItemPurger-"; - foundHelper = helpers.id; - stack1 = foundHelper || depth0.id; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "id", { hash: {} }); } - buffer += escapeExpression(stack1) + "\"\n target=\"galaxy_history\">here</a> to immediately remove it from disk\n "; - return buffer;} + var buffer = "", stack1, stack2; + buffer += "\n or <a href=\"" + + escapeExpression(((stack1 = ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.purge)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1)) + + "\" class=\"historyItemPurge\" id=\"historyItemPurger-"; + if (stack2 = helpers.id) { stack2 = stack2.call(depth0, {hash:{},data:data}); } + else { stack2 = depth0.id; stack2 = typeof stack2 === functionType ? stack2.apply(depth0) : stack2; } + buffer += escapeExpression(stack2) + + "\"\n target=\"galaxy_history\">here</a> to immediately remove it from disk\n "; + return buffer; + } function program14(depth0,data) { - var stack1; - foundHelper = helpers.warningmessagesmall; - stack1 = foundHelper || depth0.warningmessagesmall; - tmp1 = self.program(15, program15, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + var stack1, options; + options = {hash:{},inverse:self.noop,fn:self.program(15, program15, data),data:data}; + if (stack1 = helpers.warningmessagesmall) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.warningmessagesmall; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.warningmessagesmall) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { return stack1; } - else { return ''; }} + else { return ''; } + } function program15(depth0,data) { - var buffer = "", stack1; + var buffer = "", stack1, options; buffer += "\n "; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(16, program16, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + options = {hash:{},inverse:self.noop,fn:self.program(16, program16, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\n"; - return buffer;} + return buffer; + } function program16(depth0,data) { - return "This dataset has been deleted and removed from disk.";} + return "This dataset has been deleted and removed from disk."; + } function program18(depth0,data) { - var stack1; - foundHelper = helpers.warningmessagesmall; - stack1 = foundHelper || depth0.warningmessagesmall; - tmp1 = self.program(19, program19, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + var stack1, options; + options = {hash:{},inverse:self.noop,fn:self.program(19, program19, data),data:data}; + if (stack1 = helpers.warningmessagesmall) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.warningmessagesmall; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.warningmessagesmall) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { return stack1; } - else { return ''; }} + else { return ''; } + } function program19(depth0,data) { - var buffer = "", stack1, stack2; + var buffer = "", stack1, stack2, options; buffer += "\n "; - foundHelper = helpers.local; - stack1 = foundHelper || depth0.local; - tmp1 = self.program(20, program20, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - if(foundHelper && typeof stack1 === functionType) { stack1 = stack1.call(depth0, tmp1); } - else { stack1 = blockHelperMissing.call(depth0, stack1, tmp1); } + options = {hash:{},inverse:self.noop,fn:self.program(20, program20, data),data:data}; + if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); } + else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; } + if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); } if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\n "; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.unhide); - stack2 = helpers['if']; - tmp1 = self.program(22, program22, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); - if(stack1 || stack1 === 0) { buffer += stack1; } + stack2 = helpers['if'].call(depth0, ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.unhide), {hash:{},inverse:self.noop,fn:self.program(22, program22, data),data:data}); + if(stack2 || stack2 === 0) { buffer += stack2; } buffer += "\n"; - return buffer;} + return buffer; + } function program20(depth0,data) { - return "This dataset has been hidden.";} + return "This dataset has been hidden."; + } function program22(depth0,data) { - var buffer = "", stack1; - buffer += "\n Click <a href=\""; - foundHelper = helpers.urls; - stack1 = foundHelper || depth0.urls; - stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.unhide); - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "urls.unhide", { hash: {} }); } - buffer += escapeExpression(stack1) + "\" class=\"historyItemUnhide\" id=\"historyItemUnhider-"; - foundHelper = helpers.id; - stack1 = foundHelper || depth0.id; - if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } - else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "id", { hash: {} }); } - buffer += escapeExpression(stack1) + "\"\n target=\"galaxy_history\">here</a> to unhide it\n "; - return buffer;} + var buffer = "", stack1, stack2; + buffer += "\n Click <a href=\"" + + escapeExpression(((stack1 = ((stack1 = depth0.urls),stack1 == null || stack1 === false ? stack1 : stack1.unhide)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1)) + + "\" class=\"historyItemUnhide\" id=\"historyItemUnhider-"; + if (stack2 = helpers.id) { stack2 = stack2.call(depth0, {hash:{},data:data}); } + else { stack2 = depth0.id; stack2 = typeof stack2 === functionType ? stack2.apply(depth0) : stack2; } + buffer += escapeExpression(stack2) + + "\"\n target=\"galaxy_history\">here</a> to unhide it\n "; + return buffer; + } - foundHelper = helpers.error; - stack1 = foundHelper || depth0.error; - stack2 = helpers['if']; - tmp1 = self.program(1, program1, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); + stack1 = helpers['if'].call(depth0, depth0.error, {hash:{},inverse:self.noop,fn:self.program(1, program1, data),data:data}); if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\n\n"; - foundHelper = helpers.deleted; - stack1 = foundHelper || depth0.deleted; - stack2 = helpers['if']; - tmp1 = self.program(6, program6, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); + stack1 = helpers['if'].call(depth0, depth0.deleted, {hash:{},inverse:self.noop,fn:self.program(6, program6, data),data:data}); if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\n\n"; - foundHelper = helpers.purged; - stack1 = foundHelper || depth0.purged; - stack2 = helpers['if']; - tmp1 = self.program(14, program14, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); + stack1 = helpers['if'].call(depth0, depth0.purged, {hash:{},inverse:self.noop,fn:self.program(14, program14, data),data:data}); if(stack1 || stack1 === 0) { buffer += stack1; } buffer += "\n\n"; - foundHelper = helpers.visible; - stack1 = foundHelper || depth0.visible; - stack2 = helpers.unless; - tmp1 = self.program(18, program18, data); - tmp1.hash = {}; - tmp1.fn = tmp1; - tmp1.inverse = self.noop; - stack1 = stack2.call(depth0, stack1, tmp1); + stack1 = helpers.unless.call(depth0, depth0.visible, {hash:{},inverse:self.noop,fn:self.program(18, program18, data),data:data}); if(stack1 || stack1 === 0) { buffer += stack1; } - return buffer;}); + return buffer; + }); })(); \ No newline at end of file This diff is so big that we needed to truncate the remainder. Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org