diff --git a/README b/README
index 12846a17..f5535b09 100644
--- a/README
+++ b/README
@@ -10,15 +10,16 @@ A. How to get (and contribute) JMVC
http://github.com/jupiterjs/steal and
http://github.com/jupiterjs/jquerymx
- 3. Add steal and javascriptmvc as submodules of your project...
+ 3. Add steal and jquerymx as submodules of your project...
git submodule add git@github.com:_YOU_/steal.git steal
git submodule add git@github.com:_YOU_/jquerymx.git jquery
- * Notice javascriptmvc is under the jquery folder
+ * Notice jquerymx is under the jquery folder
4. Learn a little more about submodules ...
http://johnleach.co.uk/words/archives/2008/10/12/323/git-submodules-in-n-easy-steps
- 5. Make changes in steal or jmvc, and push them back to your fork.
+ 5. Make changes in steal or jquerymx, and push them back to your fork.
6. Make a pull request to your fork.
+
diff --git a/build.js b/build.js
index 60737856..1d840746 100644
--- a/build.js
+++ b/build.js
@@ -1,6 +1,6 @@
// load('jquery/build.js')
-load('steal/rhino/steal.js')
+load('steal/rhino/rhino.js')
var i, fileName, cmd,
plugins = [
@@ -16,6 +16,8 @@ var i, fileName, cmd,
"event/default",
"event/destroyed",
"event/drag",
+ "event/pause",
+ "event/resize",
{
plugin: "event/drag/limit",
exclude: ["jquery/lang/vector/vector.js", "jquery/event/livehack/livehack.js", "jquery/event/drag/drag.js"]},
@@ -38,14 +40,6 @@ var i, fileName, cmd,
"dom/within",
"dom/cur_styles",
"model",
- {
- plugin: "model/associations",
- exclude: ["jquery/class/class.js",
- "jquery/lang/lang.js",
- "jquery/event/destroyed/destroyed.js",
- "jquery/lang/openajax/openajax.js",
- "jquery/model/model.js"]
- },
{
plugin: "model/backup",
exclude: ["jquery/class/class.js",
@@ -96,7 +90,8 @@ var i, fileName, cmd,
]
-steal.plugins('steal/build/pluginify').then( function(s){
+steal.File('jquery/dist').mkdir();
+steal('steal/build/pluginify').then( function(s){
var plugin, exclude, fileDest, fileName;
for(i=0; i< stl.dependencies.length; d++) {
+ var depend = stl.dependencies[d];
+ if (depend.options.rootSrc !== "jquery/jquery.js") {
+ dependencies.push(depend.options.rootSrc);
+ }
+ }
+ }
+ })
+
+ s.File("jquery/dist/standalone").mkdirs();
+ s.File("jquery/dist/standalone/dependencies.json").save($.toJSON(files));
+ //get each file ...
+ print("Creating jquery/dist/standalone/")
+ var compressor = s.build.builders.scripts.compressors[ "localClosure"]()
+ for(var path in files){
+ if(path == "jquery/jquery.js"){
+ continue;
+ }
+ var content = readFile(path);
+ var funcContent = s.build.pluginify.getFunction(content);
+ if(typeof funcContent == "undefined"){
+ content = "";
+ } else {
+ content = "("+s.build.pluginify.getFunction(content)+")(jQuery);";
+ }
+ var out = path.replace(/\/\w+\.js/,"").replace(/\//g,".");
+ content = s.build.builders.scripts.clean(content);
+ print(" "+out+"");
+ content = s.build.builders.scripts.clean(content);
+ s.File("jquery/dist/standalone/"+out+".js").save(content);
+ s.File("jquery/dist/standalone/"+out+".min.js").save(compressor(content));
+ }
+
+ })
+
+ /*
var pageSteal = steal.build.open("steal/rhino/empty.html").steal,
steals = pageSteal.total,
- //hash of names to steals
+
files = {},
depends = function(stl, steals){
if(stl.dependencies){
@@ -41,7 +88,7 @@ steal.plugins('steal/build/pluginify','steal/build/apps','steal/build/scripts').
var depend = stl.dependencies[d];
if(!steals[depend.path]){
steals[depend.path] = true;
- print(" " + depend.path);
+ print("123 " + depend.path);
//depends(depend, steals);
}
@@ -70,33 +117,14 @@ steal.plugins('steal/build/pluginify','steal/build/apps','steal/build/scripts').
if(stl.dependencies){
for (var d = 0; d < stl.dependencies.length; d++) {
var depend = stl.dependencies[d];
- dependencies.push(depend.path);
+ if (depend.path !== "jquery/jquery.js") {
+ dependencies.push(depend.path);
+ }
}
}
- })
+ })*/
+
- steal.File("jquery/dist/standalone/dependencies.json").save($.toJSON(files));
- //get each file ...
- print("Creating jquery/dist/standalone/")
- var compressor = steal.build.builders.scripts.compressors[ "localClosure"]()
- for(var path in files){
- if(path == "jquery/jquery.js"){
- continue;
- }
- var content = readFile(path);
- var funcContent = s.build.pluginify.getFunction(content);
- if(typeof funcContent == "undefined"){
- content = "";
- } else {
- content = "("+s.build.pluginify.getFunction(content)+")(jQuery);";
- }
- var out = path.replace(/\/\w+\.js/,"").replace(/\//g,".");
- content = steal.build.builders.scripts.clean(content);
- print(" "+out+"");
- content = steal.build.builders.scripts.clean(content);
- s.File("jquery/dist/standalone/"+out+".js").save(content);
- s.File("jquery/dist/standalone/"+out+".min.js").save(compressor(content));
- }
})
\ No newline at end of file
diff --git a/class/class.html b/class/class.html
index a4386612..ef16143d 100644
--- a/class/class.html
+++ b/class/class.html
@@ -61,11 +61,9 @@
History Tabs
-