Skip to content

Commit

Permalink
Bump to 0.8.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
unscriptable committed Oct 15, 2013
1 parent e73ed53 commit d87ce29
Show file tree
Hide file tree
Showing 12 changed files with 112 additions and 100 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ curl.js with jQuery, dojo, or underscore.
What's New?
=======

* 0.8.3
* Export legacy-loaded modules with normal AMD/CommonJS module ids
(thanks @mmacaula!)
* Build curl/debug into curl/dist/debug/curl.js correctly.
* 0.8.2
* Run compile.sh from anywhere (thanks @webpro!)
* Restore quotes to cram text plugin output (thanks @gehan!)
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "curl",
"version": "0.8.2"
"version": "0.8.3"
}
26 changes: 13 additions & 13 deletions dist/curl-for-dojo1.6/curl.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/curl-for-dojo1.8/curl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dist/curl-for-jQuery/curl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions dist/curl-for-ssjs/curl.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
(function (global) {
//"use strict"; don't restore this until the config routine is refactored
var
version = '0.8.2',
version = '0.8.3',
curlName = 'curl',
defineName = 'define',
runModuleAttr = 'data-curl-run',
Expand Down Expand Up @@ -1307,16 +1307,20 @@
prevDefine = global[defineName];

// only run config if there is something to config (perf saver?)
if (prevCurl && isType(prevCurl, 'Object') || userCfg.main) {
if (prevCurl && isType(prevCurl, 'Object')) {
// remove global curl object
global[curlName] = undef; // can't use delete in IE 6-8
// configure curl
_config(prevCurl || userCfg);
_config(prevCurl);
}
else {
// set default api
core.setApi();
}
// only call config if data-curl-run set a main
if (userCfg.main) {
_config(userCfg);
}

// allow curl to be a dependency
cache[curlName] = _curl;
Expand Down
Loading

0 comments on commit d87ce29

Please sign in to comment.