[Jifty-commit] r1037 - in jifty/branches/jifty-jsan:
share/web/templates/_elements
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu May 11 22:42:21 EDT 2006
Author: trs
Date: Thu May 11 22:42:20 2006
New Revision: 1037
Modified:
jifty/branches/jifty-jsan/ (props changed)
jifty/branches/jifty-jsan/share/web/templates/_elements/javascript
Log:
r10438 at zot: tom | 2006-05-11 22:41:10 -0400
Hardcoding the dependencies instead of letting JSAN handle it was a bad idea (users would have to fiddle then instead of simply "use"ing the libs)
Modified: jifty/branches/jifty-jsan/share/web/templates/_elements/javascript
==============================================================================
--- jifty/branches/jifty-jsan/share/web/templates/_elements/javascript (original)
+++ jifty/branches/jifty-jsan/share/web/templates/_elements/javascript Thu May 11 22:42:20 2006
@@ -2,10 +2,9 @@
# XXX TODO: stick this into libs
my @libs = qw(
+ /static/js/jsan/JSAN.js
/static/js/json.js
/static/js/prototype.js
- /static/js/jsan/Upgrade/Array/push.js
- /static/js/jsan/DOM/Events.js
/static/js/cssquery/cssQuery.js
/static/js/cssquery/cssQuery-level2.js
/static/js/cssquery/cssQuery-level3.js
@@ -25,16 +24,12 @@
);
</%init>
- <script type="text/javascript">
- /*
- JSAN.errorLevel = 'warn';
- JSAN.addRespository('/static/js');
- */
- JSAN = {};
- JSAN.use = function() { };
- </script>
-
% for (@libs) {
<script type="text/javascript" src="<%$_%>"></script>
% }
+ <script type="text/javascript">
+ JSAN.errorLevel = 'warn';
+ JSAN.addRespository('/static/js/jsan');
+ </script>
+
More information about the Jifty-commit
mailing list