From 8228341a68d73aa88be7413c3b00dcafb3c2f84f Mon Sep 17 00:00:00 2001 From: Kyaw Tun Date: Sat, 13 Feb 2016 16:02:57 +0800 Subject: [PATCH] update readme. --- jsc/ydn.db-dev.js | 14 +++++++------- jsc/ydn.db-dev.js.map | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/jsc/ydn.db-dev.js b/jsc/ydn.db-dev.js index 65a6992f..4076e8ea 100755 --- a/jsc/ydn.db-dev.js +++ b/jsc/ydn.db-dev.js @@ -44,10 +44,10 @@ function ad(a,b){var c=[];if(0<=Sa(b,a))c.push("[...circular reference...]");els b))}catch(g){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")}function bd(a){if(cd[a])return cd[a];a=String(a);if(!cd[a]){var b=/function ([^\(]+)/.exec(a);cd[a]=b?b[1]:"[Anonymous]"}return cd[a]}var cd={};function dd(a,b,c,d,e){this.reset(a,b,c,d,e)}dd.prototype.a=null;var ed=0;dd.prototype.reset=function(a,b,c,d,e){"number"==typeof e||ed++;this.g=d||oa();this.f=a;this.c=b;this.b=c;delete this.a};function fd(a){this.g=a;this.a=this.f=this.b=this.c=null}function gd(a,b){this.name=a;this.value=b}gd.prototype.toString=function(){return this.name};var hd=new gd("SHOUT",1200),id=new gd("SEVERE",1E3),jd=new gd("WARNING",900),kd=new gd("INFO",800),ld=new gd("CONFIG",700),md=new gd("FINE",500),nd=new gd("FINER",400),od=new gd("FINEST",300),pd=[new gd("OFF",Infinity),hd,id,jd,kd,ld,md,nd,od,new gd("ALL",0)],qd=null;fd.prototype.getName=function(){return this.g}; function rd(a){if(a.b)return a.b;if(a.c)return rd(a.c);La("Root logger has no level set.");return null}fd.prototype.log=function(a,b,c){if(a.value>=rd(this).value)for(ha(b)&&(b=b()),a=new dd(a,String(b),this.g),c&&(a.a=c),c="log:"+a.c,r.console&&(r.console.timeStamp?r.console.timeStamp(c):r.console.markTimeline&&r.console.markTimeline(c)),r.msWriteProfilerMark&&r.msWriteProfilerMark(c),c=this;c;){b=c;var d=a;if(b.a)for(var e=0,f=void 0;f=b.a[e];e++)f(d);c=c.c}};var sd={},td=null; function ud(){td||(td=new fd(""),sd[""]=td,td.b=ld)}function vd(){ud();return td}function E(a){ud();var b;if(!(b=sd[a])){b=new fd(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=E(a.substr(0,c));c.f||(c.f={});c.f[d]=b;b.c=c;sd[a]=b}return b};function wd(a,b,c){a&&a.log(b,c,void 0)}function xd(a,b){a&&a.log(id,b,void 0)}function F(a,b){a&&a.log(jd,b,void 0)}function yd(a,b){a&&a.log(md,b,void 0)};function G(a,b){a&&a.log(od,b,void 0)}function H(a,b){a&&a.log(nd,b,void 0)};function J(a){sa.call(this,a);this.name="ydn.error.ArgumentException"}A(J,sa);function zd(a){sa.call(this,a);this.name="ydn.error.TypeError"}A(zd,sa);function Ad(a){sa.call(this,a);this.name="ydn.error.NotSupportedException"}A(Ad,sa);function Bd(a){sa.call(this,a);this.name="ydn.error.NotImplementedException"}A(Bd,sa);function Cd(a){sa.call(this,a);this.name="ydn.error.InvalidOperationException"}A(Cd,sa); -function Dd(a){Error.captureStackTrace?Error.captureStackTrace(this,Dd):this.stack=Error().stack||"";a&&(this.message=String(a));this.name="ydn.error.InternalError"}A(Dd,Error);Dd.prototype.name="ydn.error.InternalError";function Ed(a,b){D.call(this,0,b);this.h=[]}A(Ed,D);l=Ed.prototype;l.Pb=function(a,b){this.h.push([a,b]);return this};function Fd(a,b){for(var c=0;cb&&(b=a=void 0);null===a&&(a=void 0);null===b&&(b=void 0);this.lower=a;this.upper=b;this.lowerOpen=!!c;this.upperOpen=!!d}K.prototype.lower=void 0;K.prototype.upper=void 0;K.prototype.toJSON=function(){return Gd(this)};function Hd(a){return Id(a)}function Jd(a){return new K(a,a,!1,!1)}function Kd(a,b,c,d){return new K(a,b,c,d)}function Ld(a,b){return new K(void 0,a,void 0,!!b)}function Md(a,b){return new K(a,void 0,!!b,void 0)} +function Dd(a){Error.captureStackTrace?Error.captureStackTrace(this,Dd):this.stack=Error().stack||"";a&&(this.message=String(a));this.name="ydn.error.InternalError"}A(Dd,Error);Dd.prototype.name="ydn.error.InternalError";function Ed(a,b){D.call(this,0,b);this.h=[]}A(Ed,D);l=Ed.prototype;l.Pb=function(a,b){this.h.push([a,b]);return this};function Fd(a,b){for(var c=0;cb&&(b=a=void 0);null===a&&(a=void 0);null===b&&(b=void 0);this.lower=a;this.upper=b;this.lowerOpen=!!c;this.upperOpen=!!d}l=K.prototype;l.lower=void 0;l.upper=void 0;l.lowerOpen=!1;l.upperOpen=!1;l.toJSON=function(){return Gd(this)};function Hd(a){return Id(a)}function Jd(a){return new K(a,a,!1,!1)}function Kd(a,b,c,d){return new K(a,b,c,d)}function Ld(a,b){return new K(void 0,a,void 0,!!b)}function Md(a,b){return new K(a,void 0,!!b,void 0)} function Nd(a){var b;if(v(a))b=$a(a),b.push("\uffff");else if(x(a))b=a+"\uffff";else if(ga(a))b=a+2.220460492503131E-16,a-=2.220460492503131E-16;else return Jd(a);return Kd(a,b,!1,!0)}function Gd(a){a=a||{};return{lower:a.lower,upper:a.upper,lowerOpen:a.lowerOpen,upperOpen:a.upperOpen}} function Id(a){return null!=a?null!=a.upper&&null!=a.lower?Od.bound(a.lower,a.upper,!!a.lowerOpen,!!a.upperOpen):null!=a.upper?Od.upperBound(a.upper,a.upperOpen):null!=a.lower?Od.lowerBound(a.lower,a.lowerOpen):null:null}function Pd(a){if(a instanceof K)return"";if(null!=a){if(y(a)){for(var b in a){var c;if(c=a.hasOwnProperty(b))c=!(0<=Sa(["lower","upper","lowerOpen","upperOpen"],b));if(c)return'invalid attribute "'+b+'" in key range object'}return""}return"key range must be an object"}return""} -K.prototype.la=function(a){var b=this.lower,c=this.upper,d=this.lowerOpen,e=this.upperOpen;null!=a.lower&&(null==this.lower||a.lower>=this.lower)&&(b=a.lower,d=a.lowerOpen||this.lowerOpen);null!=a.upper&&(null==this.upper||a.upper<=this.upper)&&(c=a.upper,e=a.upperOpen||this.upperOpen);return Kd(b,c,d,e)};function Qd(a){if(!a)return"";var b=a.lowerOpen?"(":"[";null!=a.lower&&(b+=a.lower+", ");null!=a.upper&&(b+=a.upper);return b+=a.upperOpen?")":"]"} +l.la=function(a){var b=this.lower,c=this.upper,d=this.lowerOpen,e=this.upperOpen;null!=a.lower&&(null==this.lower||a.lower>=this.lower)&&(b=a.lower,d=a.lowerOpen||this.lowerOpen);null!=a.upper&&(null==this.upper||a.upper<=this.upper)&&(c=a.upper,e=a.upperOpen||this.upperOpen);return Kd(b,c,d,e)};function Qd(a){if(!a)return"";var b=a.lowerOpen?"(":"[";null!=a.lower&&(b+=a.lower+", ");null!=a.upper&&(b+=a.upper);return b+=a.upperOpen?")":"]"} function Rd(a,b,c,d,e){if(c)if(c.lowerOpen||c.upperOpen||null==c.lower||null==c.upper||0!==L(c.lower,c.upper)){if(null!=c.lower){var f=c.lowerOpen?" > ":" >= ";d.push(a+f+"?");e.push(Sd(c.lower,b))}null!=c.upper&&(f=c.upperOpen?" < ":" <= ",d.push(a+f+"?"),e.push(Sd(c.upper,b)))}else d.push(a+" = ?"),e.push(Sd(c.lower,b))} function Ud(a,b,c,d){var e,f,g,h;if("starts"==a||"^"==a)return Nd(b);if("<"==a||"<="==a)e=b,g="<"==a;else if(">"==a||">="==a)f=b,h=">"==a;else if("="==a||"=="==a)e=f=b;else throw new J("invalid op: "+a);if("<"==c||"<="==c)e=d,g="<"==c;else if(">"==c||">="==c)f=d,h=">"==c;else if(t(c))throw new J("invalid op2: "+c);return Kd(f,e,h,g)}var Od=r.IDBKeyRange||r.webkitIDBKeyRange||K;function Vd(a,b){var c,d;2==arguments.length&&x(arguments[1])?(c=!0,d=arguments[1].split(".")):d=(c=w(b))?b:arguments;for(c=c?0:1;c=f?c.write(f+1):16510>=f?(f-=127,c.write(128|f>>8,f&255)):c.write(192|f>>10, @@ -139,11 +139,11 @@ function Yf(a,b,c,d){var e=c.b,f=c.c||null,g=d||100;H(a.logger,"listIter:"+b+" " function Wf(a,b,c,d,e){var f=[],g=c.a,h=S(c),k=h+" "+b+"ByIterator "+d;0