Permalink
Browse files

use unnamed define to avoid issues with path settings on RequireJS. c…

…loses #41
  • Loading branch information...
1 parent ad13484 commit 9d2f26575700362d265cc1b7ad7197f73fdda7a9 @millermedeiros committed Feb 25, 2012
View
@@ -1,6 +1,14 @@
# JS-Signals Changelog #
+## v0.7.4 (2012/02/24) ##
+
+### Fixes ###
+
+ - changed UMD to use unnamed define.(#41)
+
+
+
## v0.7.3 (2012/02/02) ##
### Fixes ###
View
@@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
-#Thu Feb 02 10:20:14 BRST 2012
-build.number=252
+#Fri Feb 24 22:30:44 BRST 2012
+build.number=253
@@ -9,7 +9,7 @@ jsdoc-toolkit.dir = ${build.dir}/jsdoc-toolkit
jslint.jar = ${build.dir}/jslint4java/jslint4java-1.4.6.jar
product.name = signals
-version.number = 0.7.3
+version.number = 0.7.4
dist.name = ${product.name}.js
dist.min.name = ${product.name}.min.js
View
@@ -12,7 +12,7 @@
//exports to multiple environments
if(typeof define === 'function' && define.amd){ //AMD
- define('signals', [], signals);
+ define(signals);
} else if (typeof module !== 'undefined' && module.exports){ //node
module.exports = signals;
} else { //browser
View
@@ -61,7 +61,7 @@ <h1 class="classTitle">File Index</h1>
</div>
<div class="fineprint" style="clear:both;text-align:center">
- Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Thu Feb 02 2012 10:20:21 GMT-0200 (BRST)
+ Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Fri Feb 24 2012 22:30:52 GMT-0200 (BRST)
| template based on Steffen Siering <a href="http://github.com/urso/jsdoc-simple">jsdoc-simple</a>.
</div>
</body>
View
@@ -85,7 +85,7 @@ <h1 class="classTitle">Class Index</h1>
</div>
<div class="fineprint" style="clear:both;text-align:center">
- Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Thu Feb 02 2012 10:20:21 GMT-0200 (BRST)
+ Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Fri Feb 24 2012 22:30:52 GMT-0200 (BRST)
| template based on Steffen Siering <a href="http://github.com/urso/jsdoc-simple">jsdoc-simple</a>.
</div>
</body>
@@ -314,7 +314,7 @@ <h1 id="classTitle">Symbol Index</h1>
</div>
<div class="fineprint" style="clear:both;text-align:center">
- Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Thu Feb 02 2012 10:20:21 GMT-0200 (BRST)
+ Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Fri Feb 24 2012 22:30:52 GMT-0200 (BRST)
| template based on Steffen Siering <a href="http://github.com/urso/jsdoc-simple">jsdoc-simple</a>.
</div>
</body>
@@ -101,7 +101,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both;text-align:center">
- Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Thu Feb 02 2012 10:20:20 GMT-0200 (BRST)
+ Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Fri Feb 24 2012 22:30:52 GMT-0200 (BRST)
| template based on Steffen Siering <a href="http://github.com/urso/jsdoc-simple">jsdoc-simple</a>.
</div>
</body>
@@ -716,7 +716,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both;text-align:center">
- Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Thu Feb 02 2012 10:20:20 GMT-0200 (BRST)
+ Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Fri Feb 24 2012 22:30:52 GMT-0200 (BRST)
| template based on Steffen Siering <a href="http://github.com/urso/jsdoc-simple">jsdoc-simple</a>.
</div>
</body>
@@ -526,7 +526,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both;text-align:center">
- Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Thu Feb 02 2012 10:20:20 GMT-0200 (BRST)
+ Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Fri Feb 24 2012 22:30:52 GMT-0200 (BRST)
| template based on Steffen Siering <a href="http://github.com/urso/jsdoc-simple">jsdoc-simple</a>.
</div>
</body>
@@ -179,7 +179,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both;text-align:center">
- Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Thu Feb 02 2012 10:20:20 GMT-0200 (BRST)
+ Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Fri Feb 24 2012 22:30:52 GMT-0200 (BRST)
| template based on Steffen Siering <a href="http://github.com/urso/jsdoc-simple">jsdoc-simple</a>.
</div>
</body>
@@ -12,7 +12,7 @@
<span class='line'> 5</span> * JS Signals &lt;http://millermedeiros.github.com/js-signals/>
<span class='line'> 6</span> * Released under the MIT license
<span class='line'> 7</span> * Author: Miller Medeiros
-<span class='line'> 8</span> * Version: 0.7.3 - Build: 251 (2012/02/02 10:20 AM)
+<span class='line'> 8</span> * Version: 0.7.4 - Build: 252 (2012/02/24 10:30 PM)
<span class='line'> 9</span> */</span><span class="WHIT">
<span class='line'> 10</span>
<span class='line'> 11</span> </span><span class="PUNC">(</span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">global</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT">
@@ -27,7 +27,7 @@
<span class='line'> 20</span> * @type String
<span class='line'> 21</span> * @const
<span class='line'> 22</span> */</span><span class="WHIT">
-<span class='line'> 23</span> </span><span class="WHIT"> </span><span class="NAME">VERSION</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'0.7.3'</span><span class="WHIT">
+<span class='line'> 23</span> </span><span class="WHIT"> </span><span class="NAME">VERSION</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'0.7.4'</span><span class="WHIT">
<span class='line'> 24</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'> 25</span>
<span class='line'> 26</span>
@@ -414,7 +414,7 @@
<span class='line'>407</span>
<span class='line'>408</span> </span><span class="WHIT"> </span><span class="COMM">//exports to multiple environments</span><span class="WHIT">
<span class='line'>409</span> </span><span class="WHIT"> </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">define</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">'function'</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">define.amd</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT"> </span><span class="COMM">//AMD</span><span class="WHIT">
-<span class='line'>410</span> </span><span class="WHIT"> </span><span class="NAME">define</span><span class="PUNC">(</span><span class="STRN">'signals'</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">signals</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>410</span> </span><span class="WHIT"> </span><span class="NAME">define</span><span class="PUNC">(</span><span class="NAME">signals</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'>411</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">module</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="STRN">'undefined'</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">module.exports</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="WHIT"> </span><span class="COMM">//node</span><span class="WHIT">
<span class='line'>412</span> </span><span class="WHIT"> </span><span class="NAME">module.exports</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">signals</span><span class="PUNC">;</span><span class="WHIT">
<span class='line'>413</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT"> </span><span class="COMM">//browser</span><span class="WHIT">
View
@@ -5,7 +5,7 @@
* JS Signals <http://millermedeiros.github.com/js-signals/>
* Released under the MIT license
* Author: Miller Medeiros
- * Version: 0.7.3 - Build: 251 (2012/02/02 10:20 AM)
+ * Version: 0.7.4 - Build: 252 (2012/02/24 10:30 PM)
*/
(function(global){
@@ -20,7 +20,7 @@
* @type String
* @const
*/
- VERSION : '0.7.3'
+ VERSION : '0.7.4'
};
@@ -407,7 +407,7 @@
//exports to multiple environments
if(typeof define === 'function' && define.amd){ //AMD
- define('signals', [], signals);
+ define(signals);
} else if (typeof module !== 'undefined' && module.exports){ //node
module.exports = signals;
} else { //browser
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -3,7 +3,7 @@
"description" : "Custom Event/Messaging System",
"keywords" : ["js-signals", "signals", "pub/sub", "event", "publish", "subscribe", "observer"],
"homepage" : "http://millermedeiros.github.com/js-signals/",
- "version" : "0.7.3",
+ "version" : "0.7.4",
"author" : {
"name" : "Miller Medeiros",
"url" : "http://blog.millermedeiros.com/"

0 comments on commit 9d2f265

Please sign in to comment.