From 2188f60db12ca9693418cb3ec4befc1d86ac5b00 Mon Sep 17 00:00:00 2001 From: Armadillo Build Script Date: Sat, 6 Oct 2012 14:12:01 -0400 Subject: [PATCH] Stamp version.js @ 643.0 --- frontend/armadillo.js | 2 +- frontend/version.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/armadillo.js b/frontend/armadillo.js index a6d82ba..078ca59 100644 --- a/frontend/armadillo.js +++ b/frontend/armadillo.js @@ -183,7 +183,7 @@ var a=this[0],b=this.offsetParent(),d=this.offset(),e=rb.test(b[0].nodeName)?{to c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f,g;if(e===p){f=this[0];if(!f)return null;return(g=za(f))?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:f[d]}return this.each(function(){if(g=za(this))g.scrollTo(!a?e:c(g).scrollLeft(),a?e:c(g).scrollTop());else this[d]=e})}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){var e=this[0];return e?e.style?parseFloat(c.css(e, d,"padding")):this[d]():null};c.fn["outer"+b]=function(e){var f=this[0];return f?f.style?parseFloat(c.css(f,d,e?"margin":"border")):this[d]():null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(l){var m=c(this);m[d](e.call(this,l,m[d]()))});if(c.isWindow(f)){var g=f.document.documentElement["client"+b],i=f.document.body;return f.document.compatMode==="CSS1Compat"&&g||i&&i["client"+b]||g}else if(f.nodeType===9)return Math.max(f.documentElement["client"+ b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===p){f=c.css(f,d);g=parseFloat(f);return c.isNumeric(g)?g:f}else return this.css(d,typeof e==="string"?e:e+"px")}});r.jQuery=r.$=c;typeof define==="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return c})})(window);$.extend({namespace:function(r){var p=window;this.each(r.split("."),function(K,N){p[N]=p[N]||{};p=p[N]})},createDom:function(r){return this(document.createElement(r))}}); -if(!Function.prototype.bind)Function.prototype.bind=function(r){if(typeof this!=="function")throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var p=Array.prototype.slice.call(arguments,1),K=this,N=function(){},Q=function(){return K.apply(this instanceof N?this:r||window,p.concat(Array.prototype.slice.call(arguments)))};N.prototype=this.prototype;Q.prototype=new N;return Q};$.namespace("armadillo.Version");armadillo.Version.MAJOR=0;armadillo.Version.MINOR=8;armadillo.Version.BUILD=642.28;armadillo.Version.STAMP=1349546971;$.namespace("armadillo.TVRenamer");armadillo.TVRenamer=function(r){this.file_=r};armadillo.TVRenamer.prototype.run=function(){var r=this.file_;app.sendRequest("tv_rename",{path:this.file_.getFullPath()},function(p){if(p.error)app.showError(p.message);else{app.clearError();r.move(p.path)}})};$.namespace("armadillo.PathControl");armadillo.PathControl=function(r,p){this.name_=this.path_=null;this.setPath(r);this.editableLastComponent_=p;this.nameControl_=null};armadillo.PathControl.prototype.setPath=function(r){this.path_=app.stripLastPathComponent(r);this.name_=r.substr(this.path_.length)};armadillo.PathControl.prototype.getPath=function(){return app.joinPath(this.path_,this.name_)};armadillo.PathControl.prototype.getNameControl=function(){return this.nameControl_}; +if(!Function.prototype.bind)Function.prototype.bind=function(r){if(typeof this!=="function")throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var p=Array.prototype.slice.call(arguments,1),K=this,N=function(){},Q=function(){return K.apply(this instanceof N?this:r||window,p.concat(Array.prototype.slice.call(arguments)))};N.prototype=this.prototype;Q.prototype=new N;return Q};$.namespace("armadillo.Version");armadillo.Version.MAJOR=0;armadillo.Version.MINOR=8;armadillo.Version.BUILD=643;armadillo.Version.STAMP=1349547115;$.namespace("armadillo.TVRenamer");armadillo.TVRenamer=function(r){this.file_=r};armadillo.TVRenamer.prototype.run=function(){var r=this.file_;app.sendRequest("tv_rename",{path:this.file_.getFullPath()},function(p){if(p.error)app.showError(p.message);else{app.clearError();r.move(p.path)}})};$.namespace("armadillo.PathControl");armadillo.PathControl=function(r,p){this.name_=this.path_=null;this.setPath(r);this.editableLastComponent_=p;this.nameControl_=null};armadillo.PathControl.prototype.setPath=function(r){this.path_=app.stripLastPathComponent(r);this.name_=r.substr(this.path_.length)};armadillo.PathControl.prototype.getPath=function(){return app.joinPath(this.path_,this.name_)};armadillo.PathControl.prototype.getNameControl=function(){return this.nameControl_}; armadillo.PathControl.prototype.createDom=function(){this.element_=$.createDom("div");this.createDom_(this.element_);return this.element_}; armadillo.PathControl.prototype.createDom_=function(r){var p=this.path_.split("/");p[0]="/";p[p.length-1]==""&&p.splice(-1);var K="";$.each(p,function(N,Q){r.append(this.createComponentNode_(K,Q));K=app.joinPath(K,Q)}.bind(this));if(this.editableLastComponent_){this.nameControl_=$.createDom("input");this.nameControl_.attr({type:"text",name:"pathName",value:this.name_});this.nameControl_.bind("change keydown",this.nameChanged_.bind(this))}else this.nameControl_=$.createDom("span").text(this.name_); r.append(this.nameControl_)};armadillo.PathControl.prototype.enterDocument=function(){armadillo.PathControl.superClass_.enterDocument.call(this);this.nameControl_.getElement().focus()};armadillo.PathControl.prototype.createComponentNode_=function(r,p){var K=$.createDom("select");this.fetchMenuContents_(r,p,K);var N=$.createDom("option");N.text("Loading...").attr("selected","selected");K.append(N);K.change(this.componentChanged_.bind(this));return K}; diff --git a/frontend/version.js b/frontend/version.js index 90808a2..2330e49 100644 --- a/frontend/version.js +++ b/frontend/version.js @@ -4,5 +4,5 @@ $.namespace('armadillo.Version'); armadillo.Version.MAJOR = 0; armadillo.Version.MINOR = 8; -armadillo.Version.BUILD = 642.28; -armadillo.Version.STAMP = 1349546971; +armadillo.Version.BUILD = 643.0; +armadillo.Version.STAMP = 1349547115; -- 2.43.5