mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
feature #3748: Generate minified version in dist folder
This commit is contained in:
1 parent
3c00fef2ef
commit
ed8ef12dd1
3 files changed
+12
-1
No files matched your search
@@ -34,7 +34,7 @@ module.exports = function(grunt) {
|
||||
compile: {
|
||||
options: {
|
||||
//baseUrl: '../js', // 1
|
||||
out: 'app/main.min.js', // 2
|
||||
out: 'dist/main.min.js', // 2
|
||||
//name: 'vendor/almond', // 3
|
||||
include: 'main', // 4
|
||||
mainConfigFile: 'app/main.js', // 5
|
||||
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=Z.type(e);return"function"===n||Z.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function r(e,t,n){if(Z.isFunction(t))return Z.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return Z.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return Z.filter(t,e,n);t=Z.filter(t,e)}return Z.grep(e,function(e){return W.call(t,e)>=0!==n})}function i(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e){var t=dt[e]={};return Z.each(e.match(ht)||[],function(e,n){t[n]=!0}),t}function o(){K.removeEventListener("DOMContentLoaded",o,!1),e.removeEventListener("load",o,!1),Z.ready()}function s(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=Z.expando+s.uid++}function u(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(_t,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:bt.test(n)?Z.parseJSON(n):n}catch(i){}yt.set(e,t,n)}else n=void 0;return n}function l(){return!0}function c(){return!1}function p(){try{return K.activeElement}catch(e){}}function f(e,t){return Z.nodeName(e,"table")&&Z.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function h(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function d(e){var t=Lt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function m(e,t){for(var n=0,r=e.length;r>n;n++)vt.set(e[n],"globalEval",!t||vt.get(t[n],"globalEval"))}function g(e,t){var n,r,i,a,o,s,u,l;if(1===t.nodeType){if(vt.hasData(e)&&(a=vt.access(e),o=vt.set(t,a),l=a.events)){delete o.handle,o.events={};for(i in l)for(n=0,r=l[i].length;r>n;n++)Z.event.add(t,i,l[i][n])}yt.hasData(e)&&(s=yt.access(e),u=Z.extend({},s),yt.set(t,u))}}function v(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&Z.nodeName(e,t)?Z.merge([e],n):n}function y(e,t){var n=t.nodeName.toLowerCase();"input"===n&&St.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}function b(t,n){var r,i=Z(n.createElement(t)).appendTo(n.body),a=e.getDefaultComputedStyle&&(r=e.getDefaultComputedStyle(i[0]))?r.display:Z.css(i[0],"display");return i.detach(),a}function _(e){var t=K,n=Ft[e];return n||(n=b(e,t),"none"!==n&&n||(Ht=(Ht||Z("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Ht[0].contentDocument,t.write(),t.close(),n=b(e,t),Ht.detach()),Ft[e]=n),n}function x(e,t,n){var r,i,a,o,s=e.style;return n=n||Bt(e),n&&(o=n.getPropertyValue(t)||n[t]),n&&(""!==o||Z.contains(e.ownerDocument,e)||(o=Z.style(e,t)),Ut.test(o)&&Mt.test(t)&&(r=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=i,s.maxWidth=a)),void 0!==o?o+"":o}function w(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function E(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),r=t,i=Jt.length;i--;)if(t=Jt[i]+n,t in e)return t;return r}function S(e,t,n){var r=Gt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function k(e,t,n,r,i){for(var a=n===(r?"border":"content")?4:"width"===t?1:0,o=0;4>a;a+=2)"margin"===n&&(o+=Z.css(e,n+wt[a],!0,i)),r?("content"===n&&(o-=Z.css(e,"padding"+wt[a],!0,i)),"margin"!==n&&(o-=Z.css(e,"border"+wt[a]+"Width",!0,i))):(o+=Z.css(e,"padding"+wt[a],!0,i),"padding"!==n&&(o+=Z.css(e,"border"+wt[a]+"Width",!0,i)));return o}function N(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,a=Bt(e),o="border-box"===Z.css(e,"boxSizing",!1,a);if(0>=i||null==i){if(i=x(e,t,a),(0>i||null==i)&&(i=e.style[t]),Ut.test(i))return i;r=o&&(Y.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+k(e,t,n||(o?"border":"content"),r,a)+"px"}function T(e,t){for(var n,r,i,a=[],o=0,s=e.length;s>o;o++)r=e[o],r.style&&(a[o]=vt.get(r,"olddisplay"),n=r.style.display,t?(a[o]||"none"!==n||(r.style.display=""),""===r.style.display&&Et(r)&&(a[o]=vt.access(r,"olddisplay",_(r.nodeName)))):(i=Et(r),"none"===n&&i||vt.set(r,"olddisplay",i?n:Z.css(r,"display"))));for(o=0;s>o;o++)r=e[o],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?a[o]||"":"none"));return e}function O(e,t,n,r,i){return new O.prototype.init(e,t,n,r,i)}function C(){return setTimeout(function(){Yt=void 0}),Yt=Z.now()}function A(e,t){var n,r=0,i={height:e};for(t=t?1:0;4>r;r+=2-t)n=wt[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function P(e,t,n){for(var r,i=(nn[t]||[]).concat(nn["*"]),a=0,o=i.length;o>a;a++)if(r=i[aLine truncated
|
||||
}));for(t=0;n>t;t++)Z.find(e,i[t],r);return r=this.pushStack(n>1?Z.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&at.test(e)?Z(e):e||[],!1).length}});var ut,lt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ct=Z.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:lt.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||ut).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof Z?t[0]:t,Z.merge(this,Z.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:K,!0)),ot.test(n[1])&&Z.isPlainObject(t))for(n in t)Z.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return r=K.getElementById(n[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=K,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):Z.isFunction(e)?"undefined"!=typeof ut.ready?ut.ready(e):e(Z):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),Z.makeArray(e,this))};ct.prototype=Z.fn,ut=Z(K);var pt=/^(?:parents|prev(?:Until|All))/,ft={children:!0,contents:!0,next:!0,prev:!0};Z.extend({dir:function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&Z(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),Z.fn.extend({has:function(e){var t=Z(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(Z.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,a=[],o=at.test(e)||"string"!=typeof e?Z(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&Z.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?Z.unique(a):a)},index:function(e){return e?"string"==typeof e?W.call(Z(e),this[0]):W.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Z.unique(Z.merge(this.get(),Z(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Z.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Z.dir(e,"parentNode")},parentsUntil:function(e,t,n){return Z.dir(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return Z.dir(e,"nextSibling")},prevAll:function(e){return Z.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Z.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Z.dir(e,"previousSibling",n)},siblings:function(e){return Z.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Z.sibling(e.firstChild)},contents:function(e){return e.contentDocument||Z.merge([],e.childNodes)}},function(e,t){Z.fn[e]=function(n,r){var i=Z.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=Z.filter(r,i)),this.length>1&&(ft[e]||Z.unique(i),pt.test(e)&&i.reverse()),this.pushStack(i)}});var ht=/\S+/g,dt={};Z.Callbacks=function(e){e="string"==typeof e?dt[e]||a(e):Z.extend({},e);var t,n,r,i,o,s,u=[],l=!e.once&&[],c=function(a){for(t=e.memory&&a,n=!0,s=i||0,i=0,o=u.length,r=!0;u&&o>s;s++)if(u[s].apply(a[0],a[1])===!1&&e.stopOnFalse){t=!1;break}r=!1,u&&(l?l.length&&c(l.shift()):t?u=[]:p.disable())},p={add:function(){if(u){var n=u.length;!function a(t){Z.each(t,function(t,n){var r=Z.type(n);"function"===r?e.unique&&p.has(n)||u.push(n):n&&n.length&&"string"!==r&&a(n)})}(arguments),r?o=u.length:t&&(i=n,c(t))}return this},remove:function(){return u&&Z.each(arguments,function(e,t){for(var n;(n=Z.inArray(t,u,n))>-1;)u.splice(n,1),r&&(o>=n&&o--,s>=n&&s--)}),this},has:function(e){return e?Z.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],o=0,this},disable:function(){return u=l=t=void 0,this},disabled:function(){return!u},lock:function(){return l=void 0,t||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return!u||n&&!l||(t=t||[],t=[e,t.slice?t.slice():t],r?l.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!n}};return p},Z.extend({Deferred:function(e){var t=[["resolve","done",Z.Callbacks("once memory"),"resolved"],["reject","fail",Z.Callbacks("once memory"),"rejected"],["notify","progress",Z.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return Z.Deferred(function(n){Z.each(t,function(t,a){var o=Z.isFunction(e[t])&&e[t];i[a[1]](function(){var e=o&&o.apply(this,arguments);e&&Z.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a[0]+"With"](this===r?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){retLine truncated
|
||||
delete n.finish})}}),Z.each(["toggle","show","hide"],function(e,t){var n=Z.fn[t];Z.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(A(t,!0),e,r,i)}}),Z.each({slideDown:A("show"),slideUp:A("hide"),slideToggle:A("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Z.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Z.timers=[],Z.fx.tick=function(){var e,t=0,n=Z.timers;for(Yt=Z.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||Z.fx.stop(),Yt=void 0},Z.fx.timer=function(e){Z.timers.push(e),e()?Z.fx.start():Z.timers.pop()},Z.fx.interval=13,Z.fx.start=function(){Kt||(Kt=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.stop=function(){clearInterval(Kt),Kt=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fn.delay=function(e,t){return e=Z.fx?Z.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},function(){var e=K.createElement("input"),t=K.createElement("select"),n=t.appendChild(K.createElement("option"));e.type="checkbox",Y.checkOn=""!==e.value,Y.optSelected=n.selected,t.disabled=!0,Y.optDisabled=!n.disabled,e=K.createElement("input"),e.value="t",e.type="radio",Y.radioValue="t"===e.value}();var rn,an,on=Z.expr.attrHandle;Z.fn.extend({attr:function(e,t){return gt(this,Z.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Z.removeAttr(this,e)})}}),Z.extend({attr:function(e,t,n){var r,i,a=e.nodeType;return e&&3!==a&&8!==a&&2!==a?typeof e.getAttribute===kt?Z.prop(e,t,n):(1===a&&Z.isXMLDoc(e)||(t=t.toLowerCase(),r=Z.attrHooks[t]||(Z.expr.match.bool.test(t)?an:rn)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=Z.find.attr(e,t),null==i?void 0:i):null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void Z.removeAttr(e,t)):void 0},removeAttr:function(e,t){var n,r,i=0,a=t&&t.match(ht);if(a&&1===e.nodeType)for(;n=a[i++];)r=Z.propFix[n]||n,Z.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!Y.radioValue&&"radio"===t&&Z.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),an={set:function(e,t,n){return t===!1?Z.removeAttr(e,n):e.setAttribute(n,n),n}},Z.each(Z.expr.match.bool.source.match(/\w+/g),function(e,t){var n=on[t]||Z.find.attr;on[t]=function(e,t,r){var i,a;return r||(a=on[t],on[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,on[t]=a),i}});var sn=/^(?:input|select|textarea|button)$/i;Z.fn.extend({prop:function(e,t){return gt(this,Z.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Z.propFix[e]||e]})}}),Z.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,a,o=e.nodeType;return e&&3!==o&&8!==o&&2!==o?(a=1!==o||!Z.isXMLDoc(e),a&&(t=Z.propFix[t]||t,i=Z.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]):void 0},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||sn.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),Y.optSelected||(Z.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),Z.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Z.propFix[this.toLowerCase()]=this});var un=/[\t\r\n\f]/g;Z.fn.extend({addClass:function(e){var t,n,r,i,a,o,s="string"==typeof e&&e,u=0,l=this.length;if(Z.isFunction(e))return this.each(function(t){Z(this).addClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(ht)||[];l>u;u++)if(n=this[u],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(un," "):" ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o=Z.trim(r),n.className!==o&&(n.className=o)}return this},removeClass:function(e){var t,n,r,i,a,o,s=0===arguments.length||"string"==typeof e&&e,u=0,l=this.length;if(Z.isFunction(e))return this.each(function(t){Z(this).removeClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(ht)||[];l>u;u++)if(n=this[u],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(un," "):"")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");o=e?Z.trim(r):"",n.className!==o&&(n.className=o)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):this.each(Z.isFunction(e)?function(n){Z(this).toggleClass(e.call(this,n,this.className,t),t)}:function(){if("string"===n)for(var t,r=0,i=Z(this),a=e.match(ht)||[];t=a[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else(n===kt||"boolean"===n)&&(this.className&&vt.set(this,"__className__",this.className),this.className=this.className||e===!1?"":vt.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(un," ").indexLine truncated
|
||||
}return e(t,r)},s=function(e){var t=[];return e||t.push("data"),this.namespace.length>0&&t.push(this.namespace),t.push(this.name),t.join("-")},u=function(e){for(var t=e.split("-"),n=t.length,r=[];n--;)0!==n?r.push(t[n]):this.namespace.length>0?r.push(this.namespace,t[n]):r.push(t[n]);return r.reverse().join("-")},l=function(t,n){var r=this,i=function(){var i=o(this),a=!i.data(r.attr_name(!0)+"-init");i.data(r.attr_name(!0)+"-init",e.extend({},r.settings,n||t,r.data_options(i))),a&&r.events(this)};return o(this.scope).is("["+this.attr_name()+"]")?i.call(this.scope):o("["+this.attr_name()+"]",this.scope).each(i),"string"==typeof t?this[t].call(this,n):void 0},c=function(e,t){function n(){t(e[0])}function r(){if(this.one("load",n),/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var e=this.attr("src"),t=e.match(/\?/)?"&":"?";t+="random="+(new Date).getTime(),this.attr("src",e+t)}}return e.attr("src")?void(e[0].complete||4===e[0].readyState?n():r.call(e)):void n()};t.matchMedia=t.matchMedia||function(e){var t,n=e.documentElement,r=n.firstElementChild||n.firstChild,i=e.createElement("body"),a=e.createElement("div");return a.id="mq-test-1",a.style.cssText="position:absolute;top:-100em",i.style.background="none",i.appendChild(a),function(e){return a.innerHTML='­<style media="'+e+'"> #mq-test-1 { width: 42px; }</style>',n.insertBefore(i,r),t=42===a.offsetWidth,n.removeChild(i),{matches:t,media:e}}}(n),function(e){function n(){r&&(o(n),u&&e.fx.tick())}for(var r,i=0,a=["webkit","moz"],o=t.requestAnimationFrame,s=t.cancelAnimationFrame,u="undefined"!=typeof e.fx;i<a.length&&!o;i++)o=t[a[i]+"RequestAnimationFrame"],s=s||t[a[i]+"CancelAnimationFrame"]||t[a[i]+"CancelRequestAnimationFrame"];o?(t.requestAnimationFrame=o,t.cancelAnimationFrame=s,u&&(e.fx.timer=function(t){t()&&e.timers.push(t)&&!r&&(r=!0,n())},e.fx.stop=function(){r=!1})):(t.requestAnimationFrame=function(e){var n=(new Date).getTime(),r=Math.max(0,16-(n-i)),a=t.setTimeout(function(){e(n+r)},r);return i=n+r,a},t.cancelAnimationFrame=function(e){clearTimeout(e)})}(e),t.Foundation={name:"Foundation",version:"5.5.1",media_queries:{small:o(".foundation-mq-small").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"small-only":o(".foundation-mq-small-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),medium:o(".foundation-mq-medium").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"medium-only":o(".foundation-mq-medium-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),large:o(".foundation-mq-large").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"large-only":o(".foundation-mq-large-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),xlarge:o(".foundation-mq-xlarge").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),"xlarge-only":o(".foundation-mq-xlarge-only").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,""),xxlarge:o(".foundation-mq-xxlarge").css("font-family").replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,"")},stylesheet:e("<style></style>").appendTo("head")[0].sheet,global:{namespace:r},init:function(e,n,r,i,a){var s=[e,r,i,a],u=[];if(this.rtl=/rtl/i.test(o("html").attr("dir")),this.scope=e||this.scope,this.set_namespace(),n&&"string"==typeof n&&!/reflow/i.test(n))this.libs.hasOwnProperty(n)&&u.push(this.init_lib(n,s));else for(var l in this.libs)u.push(this.init_lib(l,n));return o(t).load(function(){o(t).trigger("resize.fndtn.clearing").trigger("resize.fndtn.dropdown").trigger("resize.fndtn.equalizer").trigger("resize.fndtn.interchange").trigger("resize.fndtn.joyride").trigger("resize.fndtn.magellan").trigger("resize.fndtn.topbar").trigger("resize.fndtn.slider")}),e},init_lib:function(t,n){return this.libs.hasOwnProperty(t)?(this.patch(this.libs[t]),n&&n.hasOwnProperty(t)?("undefined"!=typeof this.libs[t].settings?e.extend(!0,this.libs[t].settings,n[t]):"undefined"!=typeof this.libs[t].defaults&&e.extend(!0,this.libs[t].defaults,n[t]),this.libs[t].init.apply(this.libs[t],[this.scope,n[t]])):(n=n instanceof Array?n:new Array(n),this.libs[t].init.apply(this.libs[t],n))):function(){}},patch:function(e){e.scope=this.scope,e.namespace=this.global.namespace,e.rtl=this.rtl,e.data_options=this.utils.data_options,e.attr_name=s,e.add_namespace=u,e.bindings=l,e.S=this.utils.S},inherit:function(e,t){for(var n=t.split(" "),r=n.length;r--;)this.utils.hasOwnProperty(n[r])&&(e[n[r]]=this.utils[n[r]])},set_namespace:function(){var t=this.global.namespace===r?e(".foundation-data-attribute-namespace").css("font-family"):this.global.namespace;this.global.namespace=t===r||/false/i.test(t)?"":t},libs:{},utils:{S:o,throttle:function(e,t){var n=null;return function(){var r=this,i=arguments;null==n&&(n=setTimeout(function(){e.apply(r,i),n=null},t))}},debounce:function(e,t,n){var r,i;return function(){var a=this,o=arguments,s=function(){r=null,n||(i=e.apply(a,o))},u=n&&!r;return clearTimeout(r),r=setTimeout(s,t),u&&(i=e.apply(a,o)),i}},data_optiLine truncated
|
||||
},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r,i;this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),o=0;o<a.length&&(n=this._input.match(this.rules[a[o]]),!n||t&&!(n[0].length>t[0].length)||(t=n,r=o,this.options.flex));o++);return t?(i=t[0].match(/(?:\r\n?|\n).*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,a[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e?e:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return"undefined"!=typeof e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)}};return e.options={},e.performAction=function(e,t,n,r){function i(e,n){return t.yytext=t.yytext.substr(e,t.yyleng-n)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(i(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(i(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 12;break;case 1:return 12;case 2:return this.popState(),12;case 3:return t.yytext=t.yytext.substr(5,t.yyleng-9),this.popState(),15;case 4:return 12;case 5:return i(0,4),this.popState(),13;case 6:return 45;case 7:return 46;case 8:return 16;case 9:return this.popState(),this.begin("raw"),18;case 10:return 34;case 11:return 24;case 12:return 29;case 13:return this.popState(),28;case 14:return this.popState(),28;case 15:return 26;case 16:return 26;case 17:return 32;case 18:return 31;case 19:this.popState(),this.begin("com");break;case 20:return i(3,5),this.popState(),13;case 21:return 31;case 22:return 51;case 23:return 50;case 24:return 50;case 25:return 54;case 26:break;case 27:return this.popState(),33;case 28:return this.popState(),25;case 29:return t.yytext=i(1,2).replace(/\\"/g,'"'),42;case 30:return t.yytext=i(1,2).replace(/\\'/g,"'"),42;case 31:return 52;case 32:return 44;case 33:return 44;case 34:return 43;case 35:return 50;case 36:return t.yytext=i(1,2),50;case 37:return"INVALID";case 38:return 5}},e.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{\/)))/,/^(?:[\s\S]*?--\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{!--)/,/^(?:\{\{![\s\S]*?\}\})/,/^(?:\{\{(~)?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)]))))/,/^(?:\[[^\]]*\])/,/^(?:.)/,/^(?:$)/],e.conditions={mu:{rules:[6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[5],inclusive:!1},raw:{rules:[3,4],inclusive:!1},INITIAL:{rules:[0,1,38],inclusive:!0}},e}();return t.lexer=n,e.prototype=t,t.Parser=e,new e}();return e=t}(),u=function(e){"use strict";function t(e,t){return{left:"~"===e.charAt(2),right:"~"===t.charAt(t.length-3)}}function n(e,t,n,r,u,c){if(e.sexpr.id.original!==r.path.original)throw new l(e.sexpr.id.original+" doesn't match "+r.path.original,e);var p=n&&n.program,f={left:e.strip.left,right:r.strip.right,openStandalone:a(t.statements),closeStandalone:i((p||t).statements)};if(e.strip.right&&o(t.statements,null,!0),p){var h=n.strip;h.lefLine truncated
|
||||
return function(){for(var t=arguments,n=e.length-1;n>=0;n--)t=[e[n].apply(this,t)];return t[0]}},x.after=function(e,t){return 0>=e?t():function(){return--e<1?t.apply(this,arguments):void 0}},x.keys=b||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)x.has(e,n)&&(t[t.length]=n);return t},x.values=function(e){return x.map(e,x.identity)},x.functions=x.methods=function(e){var t=[];for(var n in e)x.isFunction(e[n])&&t.push(n);return t.sort()},x.extend=function(e){return w(a.call(arguments,1),function(t){for(var n in t)e[n]=t[n]}),e},x.pick=function(e){var t={};return w(x.flatten(a.call(arguments,1)),function(n){n in e&&(t[n]=e[n])}),t},x.defaults=function(e){return w(a.call(arguments,1),function(t){for(var n in t)null==e[n]&&(e[n]=t[n])}),e},x.clone=function(e){return x.isObject(e)?x.isArray(e)?e.slice():x.extend({},e):e},x.tap=function(e,t){return t(e),e},x.isEqual=function(t,n){return e(t,n,[])},x.isEmpty=function(e){if(null==e)return!0;if(x.isArray(e)||x.isString(e))return 0===e.length;for(var t in e)if(x.has(e,t))return!1;return!0},x.isElement=function(e){return!(!e||1!=e.nodeType)},x.isArray=y||function(e){return"[object Array]"==s.call(e)},x.isObject=function(e){return e===Object(e)},x.isArguments=function(e){return"[object Arguments]"==s.call(e)},x.isArguments(arguments)||(x.isArguments=function(e){return!(!e||!x.has(e,"callee"))}),x.isFunction=function(e){return"[object Function]"==s.call(e)},x.isString=function(e){return"[object String]"==s.call(e)},x.isNumber=function(e){return"[object Number]"==s.call(e)},x.isFinite=function(e){return x.isNumber(e)&&isFinite(e)},x.isNaN=function(e){return e!==e},x.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"==s.call(e)},x.isDate=function(e){return"[object Date]"==s.call(e)},x.isRegExp=function(e){return"[object RegExp]"==s.call(e)},x.isNull=function(e){return null===e},x.isUndefined=function(e){return void 0===e},x.has=function(e,t){return u.call(e,t)},x.noConflict=function(){return root._=previousUnderscore,this},x.identity=function(e){return e},x.times=function(e,t,n){for(var r=0;e>r;r++)t.call(n,r)},x.escape=function(e){return(""+e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")},x.result=function(e,t){if(null==e)return null;var n=e[t];return x.isFunction(n)?n.call(e):n},x.mixin=function(e){w(x.functions(e),function(t){D(t,x[t]=e[t])})};var k=0;x.uniqueId=function(e){var t=k++;return e?e+t:t},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var N=/.^/,T={"\\":"\\","'":"'",r:"\r",n:"\n",t:" ",u2028:"\u2028",u2029:"\u2029"};for(var O in T)T[T[O]]=O;var C=/\\|'|\r|\n|\t|\u2028|\u2029/g,A=/\\(\\|'|r|n|t|u2028|u2029)/g,P=function(e){return e.replace(A,function(e,t){return T[t]})};x.template=function(e,t,n){n=x.defaults(n||{},x.templateSettings);var r="__p+='"+e.replace(C,function(e){return"\\"+T[e]}).replace(n.escape||N,function(e,t){return"'+\n_.escape("+P(t)+")+\n'"}).replace(n.interpolate||N,function(e,t){return"'+\n("+P(t)+")+\n'"}).replace(n.evaluate||N,function(e,t){return"';\n"+P(t)+"\n;__p+='"})+"';\n";n.variable||(r="with(obj||{}){\n"+r+"}\n"),r="var __p='';var print=function(){__p+=Array.prototype.join.call(arguments, '')};\n"+r+"return __p;\n";var i=new Function(n.variable||"obj","_",r);if(t)return i(t,x);var a=function(e){return i.call(this,e,x)};return a.source="function("+(n.variable||"obj")+"){\n"+r+"}",a},x.chain=function(e){return x(e).chain()};var j=function(e){this._wrapped=e};x.prototype=j.prototype;var I=function(e,t){return t?x(e).chain():e},D=function(e,t){j.prototype[e]=function(){var e=a.call(arguments);return o.call(e,this._wrapped),I(t.apply(x,e),this._chain)}};return x.mixin(x),w(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=n[e];j.prototype[e]=function(){var n=this._wrapped;t.apply(n,arguments);var r=n.length;return"shift"!=e&&"splice"!=e||0!==r||delete n[0],I(n,this._chain)}}),w(["concat","join","slice"],function(e){var t=n[e];j.prototype[e]=function(){return I(t.apply(this._wrapped,arguments),this._chain)}}),j.prototype.chain=function(){return this._chain=!0,this},j.prototype.value=function(){return this._wrapped},x}),define("hbs/i18nprecompile",["hbs/handlebars","hbs/underscore"],function(e,t){function n(r,i,a){return a=a||{},i=i||{},r&&"program"===r.type&&r.statements&&(t(r.statements).forEach(function(t,o){var s="<!-- i18n error -->";if("mustache"===t.type&&t.id&&"$"===t.id.original){if(t.params.length&&t.params[0].string){var u=t.params[0].string;s=i[u]||(a.originalKeyFallback?u:s)}r.statements[o]=new e.AST.ContentNode(s)}else t.program&&(t.program=n(t.program,i,a))}),r.inverse&&n(r.inverse,i,a)),r}return function(t,r,i){var a,o;return i=i||{},"data"in i||(i.data=!0),i.compat&&(i.useDepths=!0),a=e.parse(t),r!==!1&&(a=n(a,r,i)),o=(new e.Compiler).compile(a,i),(new e.JavaScriptCompiler).compile(o,i)}}),funLine truncated
|
||||
break;default:v=$("#"+l+"main_buttons",d),y=button.text,g.push("secondary","button","small","radius"),p='<button class="'+g.join(" ")+'" href="'+buttonName+'">'+y+"</button>"}v.append(p)}f.append(d),0==$("#"+l+"more_buttons li",f).length&&$("a[data-dropdown="+l+"more_buttons]",f).remove(),0==$("#"+l+"user_buttons li",f).length&&$("a[data-dropdown="+l+"user_buttons]",f).remove(),0==$("#"+l+"vmsplanification_buttons li",f).length&&$("a[data-dropdown="+l+"vmsplanification_buttons]",f).remove(),0==$("#"+l+"vmsdelete_buttons li",f).length&&$("a[data-dropdown="+l+"vmsdelete_buttons]",f).remove(),0==$("#"+l+"vmsstop_buttons li",f).length&&$("a[data-dropdown="+l+"vmsstop_buttons]",f).remove(),0==$("#"+l+"vmspause_buttons li",f).length&&$("a[data-dropdown="+l+"vmspause_buttons]",f).remove(),0==$("#"+l+"vmsrepeat_buttons li",f).length&&$("a[data-dropdown="+l+"vmsrepeat_buttons]",f).remove(),0==$("#"+l+"user_buttons li",f).length&&$("a[data-dropdown="+l+"user_buttons]",f).remove(),$(".top_button, .list_button",f).attr("disabled",!1),$(".top_button, .list_button",f).attr("disabled",!0),$(".create_dialog_button",f).attr("disabled",!1),$(".alwaysActive",f).attr("disabled",!1),$("#"+l+"reset_button",f).on("click",function(){var e=$(".right-form",s).attr("form_name"),t=$(".right-form",s).data("initialize_func");return u.popUpFormPanel(e,r,null,!0,t),!1}),$("#"+l+"submit_button",f).on("click",function(){var e=$(".right-form",s).attr("form_name");return u.submitFormPanel(e,r),!1}),$(document).foundation()}},o=function(){var e=$(".left-content ul li.topTab"),t=$(".left-content ul li.subTab");t.on("click",function(){if($(this).hasClass("topTab"))return!1;var e=$(this).attr("id").substring(3);return s(e),!1}),e.on("click",function(){var e=$(this).attr("id").substring(3);if($(this).hasClass("tab_with_no_content")){var t=$("div#menu li."+e);return t.fadeToggle("fast"),!1}return s(e),!1})},s=function(e){if(!n.tabs[e])return!1;0==e.indexOf("#")&&(e=e.substring(1)),$("#navigation li").removeClass("navigation-active-li");var t=$("#navigation li#li_"+e);t.addClass("navigation-active-li");var r=$("#"+e);$(".tab").hide(),r.show(),$(".right-info",r).hide(),$(".right-form",r).hide(),$(".right-list",r).show(),$(".only-right-info",r).hide(),$(".only-right-form",r).hide(),$(".only-right-list",r).show()},u={showAction:function(){return n.actions},addActions:function(e){for(action in e)n.actions[action]=e[action]},addMainTab:function(e,r){t.isTabEnabled(e)&&(n.tabs[e]=r)},addFormPanel:function(e,t,r){n.form_panels[t]=r},addInfoPanel:function(e,t){n.info_panels[e]=t},popUpInfoPanel:function(e,r){var i=$("dd.active a",$("#"+e));if(i)var a=i.attr("href");var o=$('<div id="'+e+'" class="bordered-tabs"> <dl class="tabs right-info-tabs text-center" data-tab> </dl> <div class="tabs-content"></div> </div> </div>'),s=n.info_panels[e],u=null,l=!1;for(panelTabName in s)if(0!=t.isTabPanelEnabled(r,panelTabName)){u=s[panelTabName];var c=$('<dd><a href="#'+panelTabName+'">'+(u.icon?'<i class="fa '+u.icon+'"></i><br>':"")+u.title+"</a></dd>").appendTo($("dl",o)),p=$('<div id="'+panelTabName+'" class="content">'+u.content+"</div>").appendTo($(".tabs-content",o));a?a=="#"+panelTabName&&(c.addClass("active"),p.addClass("active")):l||(c.addClass("active"),p.addClass("active"),l=!0)}popDialog(o,$("#"+r))},updateInfoPanelTab:function(e,t,r,i){if(n.info_panels[e][t]=r,i){var a=r.content;$("div#"+e+" div#"+t,info_panel_context).html(a)}},popUpFormPanel:function(e,t,r,i,a){var o=$("#"+t);popFormDialogLoading(o);var s=n.form_panels[e];$(".right-form",o).data("initialize_func",a),$(".reset_button",o).show(),s.advancedHtml?$(".wizard_tabs",o).show():$(".wizard_tabs",o).hide(),r&&($(".right-form-title",o).text(s.actions[r].title),$(".submit_button",o).text(s.actions[r].submit_text),0==s.actions[r].reset_button&&$(".reset_button",o).hide()),setTimeout(function(){i&&(r||(r=$("#"+e+"_wizard",o).attr("action")),$("#advancedForms",o).empty(),$("#wizardForms",o).empty()),0==$("#"+e+"_wizard",o).length&&($("#advancedForms",o).append(s.advancedHtml),$("#wizardForms",o).append(s.wizardHtml),s.setup(o)),a&&a(o),r&&($("#"+e+"_wizard",o).attr("action",r),$("#"+e+"_advanced",o).attr("action",r)),popFormDialog(e,o)},13)},submitFormPanel:function(e,t){var n=$("#"+t);popFormDialogLoading(n),$("#wizardForms.active",n).length>0?$("#"+e+"_wizard",n).submit():$("#advancedForms.active",n).length>0&&$("#"+e+"_advanced",n).submit()},runAction:function(e,t,r){var i=n.actions;if(!i[e])return notifyError("Action "+e+" not defined"),1;var a=i[e],o=a.notify,s=a.condition;if(s&&!s())return o&¬ifyError("This action cannot be run"),1;var u=a.call,l=a.callback,c=a.error;switch(a.type){case"create":case"register":u({data:t,success:l,error:c});break;case"single":u(r?{data:{id:t,extraParam:r},success:l,error:c}:{data:{id:t},success:l,error:c});break;case"list":u({success:l,error:c,options:t});break;case"monitor_global":u({timeout:!0,success:Line truncated
|
||||
t.simple_action(e,i,"update",n)},monitor:function(e){t.monitor(e,i,!1)},pool_monitor:function(e){t.monitor(e,i,!0)},resize:function(e){var n=e.data.extra_param;t.simple_action(e,i,"resize",n)},attachdisk:function(e){var n={disk_template:e.data.extra_param};t.simple_action(e,i,"attachdisk",n)},detachdisk:function(e){var n={disk_id:e.data.extra_param};t.simple_action(e,i,"detachdisk",n)},attachnic:function(e){var n={nic_template:e.data.extra_param};t.simple_action(e,i,"attachnic",n)},detachnic:function(e){var n={nic_id:e.data.extra_param};t.simple_action(e,i,"detachnic",n)},rename:function(e){var n=e.data.extra_param;t.simple_action(e,i,"rename",n)},resched:function(e){t.simple_action(e,i,"resched")},unresched:function(e){t.simple_action(e,i,"unresched")},recover:function(e){var n={"with":e.data.extra_param};t.simple_action(e,i,"recover",n)},accounting:function(e){t.accounting(e,i)},showback:function(e){t.showback(e,i)}};return a}),define("opennebula/zone",["require","./action"],function(e){var t=e("./action"),n="ZONE",r={create:function(e){t.create(e,n)},del:function(e){t.del(e,n)},list:function(e){t.list(e,n)},show:function(e){t.show(e,n)},update:function(e){var r={template_raw:e.data.extra_param};t.simple_action(e,n,"update",r)},fetch_template:function(e){t.show(e,n,"template")},rename:function(e){var r=e.data.extra_param;t.simple_action(e,n,"rename",r)}};return r}),define("opennebula",["require","jquery","./opennebula/helper","./opennebula/action","./opennebula/auth","./opennebula/error","./opennebula/acl","./opennebula/cluster","./opennebula/datastore","./opennebula/group","./opennebula/host","./opennebula/Image","./opennebula/marketplace","./opennebula/network","./opennebula/role","./opennebula/securitygroup","./opennebula/service","./opennebula/servicetemplate","./opennebula/support","./opennebula/Template","./opennebula/user","./opennebula/vdc","./opennebula/vm","./opennebula/zone"],function(e){e("jquery");var t=e("./opennebula/helper"),n=e("./opennebula/action"),r=e("./opennebula/auth"),i=e("./opennebula/error"),a=e("./opennebula/acl"),o=e("./opennebula/cluster"),s=e("./opennebula/datastore"),u=e("./opennebula/group"),l=e("./opennebula/host"),c=e("./opennebula/Image"),p=e("./opennebula/marketplace"),f=e("./opennebula/network"),h=e("./opennebula/role"),d=e("./opennebula/securitygroup"),m=e("./opennebula/service"),g=e("./opennebula/servicetemplate"),v=e("./opennebula/support"),y=e("./opennebula/Template"),b=e("./opennebula/user"),_=e("./opennebula/vdc"),x=e("./opennebula/vm"),w=e("./opennebula/zone");"undefined"!=typeof csrftoken&&$.ajaxPrefilter(function(e,t){var n=t.data;"string"==typeof n?(n=JSON.parse(n),n.csrftoken=csrftoken,e.data=JSON.stringify(n)):(n=n||{},n.csrftoken=csrftoken,e.data=$.param(n))}),$.ajaxSetup({converters:{"text json":function(e){return jQuery.parseJSON(jQuery("<div/>").text(e).html())}}});var E={Helper:t,Action:n,Auth:r,Error:i,Acl:a,Cluster:o,Datastore:s,Group:u,Host:l,Image:c,Marketplace:p,Network:f,Role:h,SecurityGroup:d,Service:m,ServiceTemplate:g,Support:v,Template:y,User:b,Vdc:_,Vm:x,Zone:w};return E}),define("app",["require","jquery","sunstone","tabs/infra-tab","tabs/zones-tab","opennebula"],function(e){e("jquery");var t=e("sunstone");e("tabs/infra-tab"),e("tabs/zones-tab");var n=e("opennebula");n.Zone.list({success:function(e,t){console.log(t)}});var r,i=["infra-tab","zones-tab"];$.each(i,function(n,i){r=e("tabs/"+i),t.addMainTab(i,r.definition)}),$(document).ready(function(){t.insertTabs()})}),require.config({paths:{jquery:"../bower_components/jquery/dist/jquery.min","foundation.core":"../bower_components/foundation/js/foundation/foundation","foundation.abide":"../bower_components/foundation/js/foundation/foundation.abide","foundation.accordion":"../bower_components/foundation/js/foundation/foundation.accordion","foundation.alert":"../bower_components/foundation/js/foundation/foundation.alert","foundation.clearing":"../bower_components/foundation/js/foundation/foundation.clearing","foundation.dropdown":"../bower_components/foundation/js/foundation/foundation.dropdown","foundation.equalizer":"../bower_components/foundation/js/foundation/foundation.equalizer","foundation.interchange":"../bower_components/foundation/js/foundation/foundation.interchange","foundation.joyride":"../bower_components/foundation/js/foundation/foundation.joyride","foundation.magellan":"../bower_components/foundation/js/foundation/foundation.magellan","foundation.offcanvas":"../bower_components/foundation/js/foundation/foundation.offcanvas","foundation.orbit":"../bower_components/foundation/js/foundation/foundation.orbit","foundation.reveal":"../bower_components/foundation/js/foundation/foundation.reveal","foundation.tab":"../bower_components/foundation/js/foundation/foundation.tab","foundation.tooltip":"../bower_components/foundation/js/foundation/foundation.tooltip","foundation.topbar":"../bower_components/foundation/js/foundation/foundation.topbar",hbs:"../bower_components/require-handlebars-Line truncated
|
||||
//# sourceMappingURL=main.min.js
|
||||
//# sourceMappingURL=main.min.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"main.min.js","sources":["../bower_components/jquery/dist/jquery.min.js","../bower_components/foundation/js/vendor/modernizr.js","../bower_components/foundation/js/foundation/foundation.js","sunstone-config.js","utils/locale.js","../bower_components/require-handlebars-plugin/hbs/handlebars.js","../bower_components/require-handlebars-plugin/hbs/underscore.js","../bower_components/require-handlebars-plugin/hbs/i18nprecompile.js","../bower_components/require-handlebars-plugin/hbs/json2.js","../bower_components/require-handlebars-plugin/hbs.js","sunstone/tab!hbs","templates/helpers/tr.js","sunstone/buttons!hbs","sunstone.js","tabs/infra-tab.js","tabs/zones-tab/buttons.js","hbs!tabs/zones-tab/table","tabs/zones-tab.js","opennebula/helper.js","opennebula/action.js","opennebula/auth.js","opennebula/error.js","opennebula/acl.js","opennebula/cluster.js","opennebula/datastore.js","opennebula/group.js","opennebula/host.js","opennebula/Image.js","opennebula/marketplace.js","opennebula/network.js","opennebula/role.js","opennebula/securitygroup.js","opennebula/service.js","opennebula/servicetemplate.js","opennebula/support.js","opennebula/Template.js","opennebula/user.js","opennebula/vdc.js","opennebula/vm.js","opennebula/zone.js","opennebula.js","app.js","main.js"],"names":["a","b","module","exports","document","Error","window","this","s","length","c","n","type","isWindow","nodeType","x","isFunction","grep","d","call","w","test","filter","g","D","G","F","each","match","E","I","l","removeEventListener","ready","K","Object","defineProperty","cache","get","expando","uid","P","replace","O","toLowerCase","getAttribute","N","parseJSON","e","M","set","Z","$","_","activeElement","jb","nodeName","firstChild","getElementsByTagName","appendChild","ownerDocument","createElement","kb","lb","gb","exec","removeAttribute","mb","L","nb","f","h","i","j","hasData","access","events","handle","event","add","extend","ob","querySelectorAll","merge","pb","T","checked","defaultValue","sb","appendTo","body","getDefaultComputedStyle","display","css","detach","tb","rb","qb","documentElement","contentDocument","write","close","xb","style","wb","getPropertyValue","contains","vb","ub","width","minWidth","maxWidth","yb","apply","arguments","Fb","toUpperCase","slice","Eb","Gb","Ab","Math","max","Hb","R","Ib","offsetWidth","offsetHeight","k","boxSizingReliable","parseFloat","Jb","S","Kb","prototype","init","Sb","setTimeout","Lb","now","Tb","height","opacity","Ub","Rb","concat","Vb","m","o","p","q","queue","_queueHooks","unqueued","empty","fire","always","overflow","overflowX","overflowY","Nb","isEmptyObject","hidden","show","done","hide","remove","start","end","Wb","camelCase","isArray","cssHooks","expand","Xb","Qb","Deferred","elem","startTime","duration","tweens","run","notifyWith","resolveWith","promise","props","opts","specialEasing","originalProperties","originalOptions","createTween","Tween","easing","push","stop","rejectWith","map","fx","timer","anim","progress","complete","fail","qc","unshift","rc","dataTypes","mc","sc","ajaxSettings","flatOptions","tc","contents","shift","mimeType","getResponseHeader","converters","uc","responseFields","dataFilter","dataType","split","state","error","data","Ac","wc","Jc","defaultView","indexOf","toString","hasOwnProperty","fn","r","jquery","constructor","selector","toArray","pushStack","prevObject","context","first","eq","last","sort","splice","isPlainObject","random","isReady","noop","Array","isNumeric","globalEval","eval","trim","text","head","parentNode","removeChild","makeArray","inArray","guid","proxy","Date","support","t","v","getElementById","id","H","getElementsByClassName","qsa","u","bb","setAttribute","ab","join","y","hb","cacheLength","ib","attrHandle","sourceIndex","C","nextSibling","value","dir","J","relative","matches","find","TAG","uniqueSort","z","A","B","pop","Q","RegExp","U","V","W","X","ID","CLASS","ATTR","PSEUDO","CHILD","bool","needsContext","Y","cb","db","String","fromCharCode","eb","childNodes","fb","isXML","setDocument","top","addEventListener","attachEvent","attributes","className","createComment","getById","getElementsByName","getAttributeNode","innerHTML","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","sortDetached","attr","specified","detectDuplicates","sortStable","getText","textContent","nodeValue","selectors","createPseudo",">"," ","+","~","preFilter","lastChild","pseudos","setFilters","not","has","innerText","lang","target","location","hash","root","focus","hasFocus","href","tabIndex","enabled","disabled","selected","selectedIndex","parent","header","input","button","even","odd","lt","gt","nth","radio","checkbox","file","password","image","submit","reset","filters","tokenize","compile","select","expr","unique","isXMLDoc","is","parseHTML","children","next","prev","sibling","closest","index","prevAll","addBack","parents","parentsUntil","nextAll","nextUntil","preLine truncated
|
||||
Reference in new issue
Block a user