Permalink
Browse files

simplified file structure, removed intro and outro

  • Loading branch information...
1 parent 23fc01e commit 9fda0aff49ba80f8af621abc8a4e673e1697b8c3 @millermedeiros committed Feb 18, 2011
Showing with 51 additions and 36 deletions.
  1. +1 −1 .gitignore
  2. +5 −0 .project
  3. +5 −9 build.xml
  4. +2 −2 dev/build/build.number
  5. +4 −2 dev/src/Signal.js
  6. +4 −1 dev/src/SignalBinding.js
  7. +0 −10 dev/src/intro.js
  8. +0 −1 dev/src/outro.js
  9. +17 −3 dev/src/signals.js
  10. +12 −6 dist/js-signals.js
  11. +1 −1 dist/js-signals.min.js
View
@@ -1,6 +1,6 @@
.tmp*
.project
-.settings
+.settings/
.DS_Store?
ehthumbs.db
View
@@ -5,6 +5,11 @@
<projects>
</projects>
<buildSpec>
+ <buildCommand>
+ <name>com.aptana.ide.core.unifiedBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>com.aptana.projects.webnature</nature>
View
@@ -25,20 +25,16 @@
<format property="build.date" pattern="MM/dd/yyyy hh:mm aa" unit="hour"/>
</tstamp>
- <concat destfile="${dist.dir}/${dist.name}" fixlastline="yes" eol="unix">
- <filelist dir="${src.dir}">
- <file name="intro.js" />
- <file name="signals.js" />
- <file name="SignalBinding.js" />
- <file name="Signal.js" />
- <file name="outro.js" />
- </filelist>
- </concat>
+ <copy file="${src.dir}/signals.js" tofile="${dist.dir}/${dist.name}" />
+ <loadfile property="SignalBinding.js" srcFile="${src.dir}/SignalBinding.js"/>
+ <loadfile property="Signal.js" srcFile="${src.dir}/Signal.js"/>
<replace file="${dist.dir}/${dist.name}">
<replacefilter token="::VERSION_NUMBER::" value="${version.number}" />
<replacefilter token="::BUILD_NUMBER::" value="${build.number}" />
<replacefilter token="::BUILD_DATE::" value="${build.date}" />
+ <replacefilter token="//::SignalBinding.js:://" value="${SignalBinding.js}" />
+ <replacefilter token="//::Signal.js:://" value="${Signal.js}" />
</replace>
<echo message="${dist.name} built." />
View
@@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
-#Sun Jan 30 01:55:10 EST 2011
-build.number=127
+#Fri Feb 18 18:33:11 EST 2011
+build.number=134
View
@@ -1,4 +1,7 @@
-
+
+ // Signal --------------------------------------------------------
+ //================================================================
+
/**
* Custom event broadcaster
* <br />- inspired by Robert Penner's AS3 Signals.
@@ -13,7 +16,6 @@
this._bindings = [];
};
-
signals.Signal.prototype = {
/**
View
@@ -1,4 +1,7 @@
+ // SignalBinding -------------------------------------------------
+ //================================================================
+
/**
* Object that represents a binding between a Signal and a listener function.
* <br />- <strong>This is an internall constructor and shouldn't be called by regular user.</strong>
@@ -141,4 +144,4 @@
return '[SignalBinding isOnce: '+ this._isOnce +', isEnabled: '+ this._isEnabled +']';
}
- };
+ };
View
@@ -1,10 +0,0 @@
-/*jslint onevar:true, undef:true, newcap:true, regexp:true, bitwise:true, maxerr:50, indent:4, white:false, nomen:false, plusplus:false */
-
-/*!!
- * JS Signals <http://millermedeiros.github.com/js-signals/>
- * Released under the MIT license <http://www.opensource.org/licenses/mit-license.php>
- * @author Miller Medeiros <http://millermedeiros.com/>
- * @version ::VERSION_NUMBER::
- * @build ::BUILD_NUMBER:: (::BUILD_DATE::)
- */
-(function(window){
View
@@ -1 +0,0 @@
-}(this));
View
@@ -1,14 +1,28 @@
-
+/*jslint onevar:true, undef:true, newcap:true, regexp:true, bitwise:true, maxerr:50, indent:4, white:false, nomen:false, plusplus:false */
+
+/*!!
+ * JS Signals <http://millermedeiros.github.com/js-signals/>
+ * Released under the MIT license <http://www.opensource.org/licenses/mit-license.php>
+ * @author Miller Medeiros <http://millermedeiros.com/>
+ * @version ::VERSION_NUMBER::
+ * @build ::BUILD_NUMBER:: (::BUILD_DATE::)
+ */
+(function(window){
+
/**
* @namespace Signals Namespace - Custom event/messaging system based on AS3 Signals
* @name signals
*/
var signals = window.signals = {};
-
+
/**
* Signals Version Number
* @type string
* @const
*/
signals.VERSION = '::VERSION_NUMBER::';
-
+
+//::SignalBinding.js:://
+//::Signal.js:://
+
+}(this));
View
@@ -5,23 +5,26 @@
* Released under the MIT license <http://www.opensource.org/licenses/mit-license.php>
* @author Miller Medeiros <http://millermedeiros.com/>
* @version 0.5.1
- * @build 126 (01/30/2011 01:55 AM)
+ * @build 133 (02/18/2011 06:33 PM)
*/
(function(window){
-
+
/**
* @namespace Signals Namespace - Custom event/messaging system based on AS3 Signals
* @name signals
*/
var signals = window.signals = {};
-
+
/**
* Signals Version Number
* @type string
* @const
*/
signals.VERSION = '0.5.1';
+
+ // SignalBinding -------------------------------------------------
+ //================================================================
/**
* Object that represents a binding between a Signal and a listener function.
@@ -166,7 +169,10 @@
}
};
-
+
+ // Signal --------------------------------------------------------
+ //================================================================
+
/**
* Custom event broadcaster
* <br />- inspired by Robert Penner's AS3 Signals.
@@ -181,7 +187,6 @@
this._bindings = [];
};
-
signals.Signal.prototype = {
/**
@@ -385,4 +390,5 @@
}
};
-}(this));
+
+}(this));
View

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

Oops, something went wrong.

0 comments on commit 9fda0af

Please sign in to comment.