From 2491b6f879860142b1d718e429370b5637994ced Mon Sep 17 00:00:00 2001 From: unscriptable Date: Fri, 17 Jan 2014 15:50:57 -0500 Subject: [PATCH] Update versions and release notes to 0.8.8. Compile dist files. --- README.md | 3 +++ bower.json | 2 +- dist/curl-for-dojo1.6/curl.js | 2 +- dist/curl-for-dojo1.8/curl.js | 2 +- dist/curl-for-jQuery/curl.js | 2 +- dist/curl-for-ssjs/curl.js | 2 +- dist/curl-kitchen-sink/curl.js | 20 ++++++++++---------- dist/curl-with-js-and-domReady/curl.js | 2 +- dist/curl/curl.js | 2 +- dist/debug/curl.js | 2 +- package.json | 2 +- src/curl.js | 2 +- 12 files changed, 23 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 0935dfaf..0ca884ce 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,9 @@ curl.js with jQuery, dojo, or underscore. What's New? ======= +* 0.8.8 + * Stop double-appending .css extension in css! plugin. + (thanks @stanislawosinski!) * 0.8.7 * Fix botched release wherein some dummy forgot to `bin/make-all.sh`. * 0.8.6 diff --git a/bower.json b/bower.json index 27035051..e6f634ad 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "curl", - "version": "0.8.7", + "version": "0.8.8", "description": "curl.js is small, fast, extensible module loader that handles AMD, CommonJS Modules/1.1, CSS, HTML/text, and legacy scripts.", "ignore": ["bin", "docs", "test"] } diff --git a/dist/curl-for-dojo1.6/curl.js b/dist/curl-for-dojo1.6/curl.js index 898274c0..6d99191b 100644 --- a/dist/curl-for-dojo1.6/curl.js +++ b/dist/curl-for-dojo1.6/curl.js @@ -16,7 +16,7 @@ return{id:b,q:d||[],w:0<=e?c:function(){return c},p:g}},T:function(a){var b;b=a. w(l,b,function(){a.G&&a.G(g)});q=w(l,b,c);for(e=0;ep)return a;D.splice(p,k);return D.concat(h||[]).join("/")}return h}function r(a){var e=a.indexOf("!");return{g:a.substr(e+1),d:0<=e&&a.substr(0,e)}}function t(){}function q(a,e){t.prototype= -a||Q;var k=new t;t.prototype=Q;for(var h in e)k[h]=e[h];return k}function z(){function a(a,e,k){h.push([a,e,k])}function e(a,e){for(var k,D=0;k=h[D++];)(k=k[a])&&k(e)}var k,h,D;k=this;h=[];D=function(k,p){a=k?function(a){a&&a(p)}:function(a,e){e&&e(p)};D=g;e(k?0:1,p);e=g;h=G};this.l=function(e,h,D){a(e,h,D);return k};this.k=function(a){k.G=a;D(!0,a)};this.e=function(a){k.Ba=a;D(!1,a)};this.D=function(a){e(2,a)}}function w(a){return a instanceof z||a instanceof v}function s(a,e,k,h){w(a)?a.l(e,k,h): +a||Q;var k=new t;t.prototype=Q;for(var h in e)k[h]=e[h];return k}function z(){function a(a,e,k){h.push([a,e,k])}function e(a,e){for(var k,D=0;k=h[D++];)(k=k[a])&&k(e)}var k,h,D;k=this;h=[];D=function(k,p){a=k?function(a){a&&a(p)}:function(a,e){e&&e(p)};D=g;e(k?0:1,p);e=g;h=G};this.l=function(e,h,D){a(e,h,D);return k};this.k=function(a){k.G=a;D(!0,a)};this.e=function(a){k.Ca=a;D(!1,a)};this.D=function(a){e(2,a)}}function w(a){return a instanceof z||a instanceof v}function s(a,e,k,h){w(a)?a.l(e,k,h): e(a)}function y(a,e,k){var h;return function(){0<=--a&&e&&(h=e.apply(G,arguments));0==a&&k&&k(h);return h}}function c(){var a,e;m="";a=[].slice.call(arguments);n(a[0],"Object")&&(e=a.shift(),e=b(e));return new v(a[0],a[1],a[2],e)}function b(a,e,k){var h;m="";if(a&&(u.U(a),x=u.b(a),"preloads"in a&&(h=new v(a.preloads,G,k,J,!0),u.n(function(){J=h})),a=a.main))return new v(a,e,k)}function v(a,e,k,h,D){var p;p=u.i(x,G,[].concat(a),D);this.then=this.l=a=function(a,e){s(p,function(e){a&&a.apply(G,e)},function(a){if(e)e(a); else throw a;});return this};this.next=function(a,e,h){return new v(a,e,h,p)};this.config=b;(e||k)&&a(e,k);u.n(function(){s(D||J,function(){s(h,function(){u.w(p)},k)})})}function A(a){var e,k;e=a.id;e==G&&(K!==G?K={K:"Multiple anonymous defines encountered"}:(e=u.ia())||(K=a));if(e!=G){k=E[e];e in E||(k=u.o(e,x),k=u.H(k.b,e),E[e]=k);if(!w(k))throw Error("duplicate define: "+e);k.na=!1;u.I(k,a)}}function C(){var a=u.fa(arguments);A(a)}var m,x,F,H,B=f.document,L=B&&(B.head||B.getElementsByTagName("head")[0]), N=L&&L.getElementsByTagName("base")[0]||null,M={},I={},p={},V="addEventListener"in f?{}:{loaded:1,complete:1},Q={},T=Q.toString,G,E={},O={},J=!1,K,S=/^\/|^[^:]+:\/\//,U=/(\.)(\.?)(?:$|\/([^\.\/]+.*)?)/g,W=/\/\*[\s\S]*?\*\/|\/\/.*?[\n\r]/g,X=/require\s*\(\s*(["'])(.*?[^\\])\1\s*\)|[^\\]?(["'])/g,Y=/\s*,\s*/,R,u;u={s:function(a,e,k){var h;a=d(a,e);if("."==a.charAt(0))return a;h=r(a);a=(e=h.d)||h.g;a in k.c&&(a=k.c[a].P||a);e&&(0>e.indexOf("/")&&!(e in k.c)&&(a=l(k.S)+"/"+e),a=a+"!"+h.g);return a},i:function(a, e,k,h){function p(e,h){var k,c;k=u.s(e,b.id,a);if(!h)return k;c=r(k);if(!c.d)return k;k=E[c.d];c.g="normalize"in k?k.normalize(c.g,p,b.b)||"":p(c.g);return c.d+"!"+c.g}function c(e,k,d){var r;r=k&&function(a){k.apply(G,a)};if(n(e,"String")){if(r)throw Error("require(id, callback) not allowed");d=p(e,!0);e=E[d];if(!(d in E))throw Error("Module not resolved: "+d);return(d=w(e)&&e.a)||e}s(u.w(u.i(a,b.id,e,h)),r,d)}var b;b=new z;b.id=e||"";b.ja=h;b.J=k;b.b=a;b.r=c;c.toUrl=function(e){return u.o(p(e,!0), a).url};b.s=p;return b},H:function(a,e,k){var h,p,c;h=u.i(a,e,G,k);p=h.k;c=y(1,function(a){h.v=a;try{return u.aa(h)}catch(e){h.e(e)}});h.k=function(a){s(k||J,function(){p(E[h.id]=O[h.url]=c(a))})};h.L=function(a){s(k||J,function(){h.a&&(c(a),h.D(I))})};return h},Z:function(a,e,k,h){return u.i(a,k,G,h)},ha:function(a){return a.r},N:function(a){return a.a||(a.a={})},ga:function(a){var e=a.A;e||(e=a.A={id:a.id,uri:u.O(a),exports:u.N(a),config:function(){return a.b}},e.a=e.exports);return e},O:function(a){return a.url|| -(a.url=u.t(a.r.toUrl(a.id),a.b))},U:function(a){var e,k,h,p,b;e="curl";k="define";h=p=f;if(a&&(b=a.overwriteApi||a.ya,e=a.apiName||a.pa||e,h=a.apiContext||a.oa||h,k=a.defineName||a.ua||k,p=a.defineContext||a.ta||p,F&&n(F,"Function")&&(f.curl=F),F=null,H&&n(H,"Function")&&(f.define=H),H=null,!b)){if(h[e]&&h[e]!=c)throw Error(e+" already exists");if(p[k]&&p[k]!=C)throw Error(k+" already exists");}h[e]=c;p[k]=C},b:function(a){function e(a,e){var k,h,b,m,f;for(f in a){b=a[f];n(b,"String")&&(b={path:a[f]}); +(a.url=u.t(a.r.toUrl(a.id),a.b))},U:function(a){var e,k,h,p,b;e="curl";k="define";h=p=f;if(a&&(b=a.overwriteApi||a.za,e=a.apiName||a.pa||e,h=a.apiContext||a.oa||h,k=a.defineName||a.ua||k,p=a.defineContext||a.ta||p,F&&n(F,"Function")&&(f.curl=F),F=null,H&&n(H,"Function")&&(f.define=H),H=null,!b)){if(h[e]&&h[e]!=c)throw Error(e+" already exists");if(p[k]&&p[k]!=C)throw Error(k+" already exists");}h[e]=c;p[k]=C},b:function(a){function e(a,e){var k,h,b,m,f;for(f in a){b=a[f];n(b,"String")&&(b={path:a[f]}); b.name=b.name||f;m=p;h=r(l(b.name));k=h.g;if(h=h.d)m=c[h],m||(m=c[h]=q(p),m.c=q(p.c),m.f=[]),delete a[f];h=b;var g=e,x=void 0;h.path=l(h.path||h.location||"");g&&(x=h.main||"./main","."==x.charAt(0)||(x="./"+x),h.P=d(x,h.name+"/"));h.b=h.config;h.b&&(h.b=q(p,h.b));h.V=k.split("/").length;k?(m.c[k]=h,m.f.push(k)):m.p=u.T(b.path,p)}}function k(a){var e=a.c;a.R=RegExp("^("+a.f.sort(function(a,h){return e[h].V-e[a].V}).join("|").replace(/\/|\./g,"\\$&")+")(?=\\/|$)");delete a.f}var h,p,c,b;"baseUrl"in -a&&(a.p=a.baseUrl);"main"in a&&(a.P=a.main);"preloads"in a&&(a.za=a.preloads);"pluginPath"in a&&(a.S=a.pluginPath);if("dontAddFileExt"in a||a.j)a.j=RegExp(a.dontAddFileExt||a.j);h=x;p=q(h,a);p.c=q(h.c);c=a.plugins||{};p.plugins=q(h.plugins);p.C=q(h.C,a.C);p.B=q(h.B,a.B);p.f=[];e(a.packages,!0);e(a.paths,!1);for(b in c)a=u.s(b+"!","",p),p.plugins[a.substr(0,a.length-1)]=c[b];c=p.plugins;for(b in c)if(c[b]=q(p,c[b]),a=c[b].f)c[b].f=a.concat(p.f),k(c[b]);for(b in h.c)p.c.hasOwnProperty(b)||p.f.push(b); +a&&(a.p=a.baseUrl);"main"in a&&(a.P=a.main);"preloads"in a&&(a.Aa=a.preloads);"pluginPath"in a&&(a.S=a.pluginPath);if("dontAddFileExt"in a||a.j)a.j=RegExp(a.dontAddFileExt||a.j);h=x;p=q(h,a);p.c=q(h.c);c=a.plugins||{};p.plugins=q(h.plugins);p.C=q(h.C,a.C);p.B=q(h.B,a.B);p.f=[];e(a.packages,!0);e(a.paths,!1);for(b in c)a=u.s(b+"!","",p),p.plugins[a.substr(0,a.length-1)]=c[b];c=p.plugins;for(b in c)if(c[b]=q(p,c[b]),a=c[b].f)c[b].f=a.concat(p.f),k(c[b]);for(b in h.c)p.c.hasOwnProperty(b)||p.f.push(b); k(p);return p},o:function(a,e){var p,h,b,c;p=e.c;b=S.test(a)?a:a.replace(e.R,function(a){h=p[a]||{};c=h.b;return h.path||""});return{b:c||x,url:u.T(b,e)}},T:function(a,e){var p=e.p;return p&&!S.test(a)?l(p)+"/"+a:a},t:function(a,e){return a+((e||x).j.test(a)?"":".js")},m:function(a,e,k){var h=B.createElement("script");h.onload=h.onreadystatechange=function(k){k=k||f.event;if("load"==k.type||V[h.readyState])delete p[a.id],h.onload=h.onreadystatechange=h.onerror="",e()};h.onerror=function(){k(Error("Syntax or http error: "+ a.url))};h.type=a.q||"text/javascript";h.charset="utf-8";h.async=!a.Q;h.src=a.url;p[a.id]=h;L.insertBefore(h,N);return h},M:function(a){var e=[],p;("string"==typeof a?a:a.toSource?a.toSource():a.toString()).replace(W,"").replace(X,function(a,b,c,d){d?p=p==d?G:p:p||e.push(c);return""});return e},fa:function(a){var e,p,h,b,c,d;c=a.length;h=a[c-1];b=n(h,"Function")?h.length:-1;2==c?n(a[0],"Array")?p=a[0]:e=a[0]:3==c&&(e=a[0],p=a[1]);!p&&0