Permalink
Browse files

Remove jsclass submodule and use npm devDependencies to install it.

  • Loading branch information...
1 parent 0a3d867 commit cefaa25fdef83dc0e53f85b4a65f81d8876ec27f @jcoglan jcoglan committed Dec 4, 2011
Showing with 23 additions and 34 deletions.
  1. +0 −3 .gitmodules
  2. +1 −4 README.rdoc
  3. +19 −18 package.json
  4. +1 −1 spec/browser.html
  5. +1 −2 spec/node.js
  6. +1 −5 spec/testswarm
  7. +0 −1 vendor/js.class
View
@@ -1,6 +1,3 @@
-[submodule "vendor/js.class"]
- path = vendor/js.class
- url = git://github.com/jcoglan/js.class
[submodule "vendor/em-rspec"]
path = vendor/em-rspec
url = git://github.com/jcoglan/em-rspec.git
View
@@ -34,10 +34,7 @@ should get you up and running:
bundle install
npm install
- # Build test tools and Faye itself
- cd vendor/js.class
- jake
- cd ../../
+ # Build Faye
jake
# Run tests
View
@@ -1,24 +1,25 @@
-{ "name" : "faye"
-, "description" : "Simple pub/sub messaging for the web"
-, "homepage" : "http://faye.jcoglan.com"
-, "author" : "James Coglan <jcoglan@gmail.com> (http://jcoglan.com/)"
-, "keywords" : ["comet", "websocket", "pubsub", "bayeux", "ajax", "http"]
+{ "name" : "faye"
+, "description" : "Simple pub/sub messaging for the web"
+, "homepage" : "http://faye.jcoglan.com"
+, "author" : "James Coglan <jcoglan@gmail.com> (http://jcoglan.com/)"
+, "keywords" : ["comet", "websocket", "pubsub", "bayeux", "ajax", "http"]
-, "version" : "0.7.0"
-, "engines" : {"node": ">=0.1.96"}
-, "main" : "./faye-node"
-, "dependencies" : {"cookiejar": ""}
+, "version" : "0.7.0"
+, "engines" : {"node": ">=0.1.96"}
+, "main" : "./faye-node"
+, "dependencies" : {"cookiejar": ""}
+, "devDependencies" : {"jsclass": ""}
-, "bugs" : "http://github.com/jcoglan/faye/issues"
+, "bugs" : "http://github.com/jcoglan/faye/issues"
-, "licenses" : [ { "type" : "MIT"
- , "url" : "http://www.opensource.org/licenses/mit-license.php"
- }
- ]
+, "licenses" : [ { "type" : "MIT"
+ , "url" : "http://www.opensource.org/licenses/mit-license.php"
+ }
+ ]
-, "repositories" : [ { "type" : "git"
- , "url" : "git://github.com/jcoglan/faye.git"
- }
- ]
+, "repositories" : [ { "type" : "git"
+ , "url" : "git://github.com/jcoglan/faye.git"
+ }
+ ]
}
View
@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Faye test suite</title>
- <script type="text/javascript" src="../vendor/js.class/build/min/loader.js"></script>
+ <script type="text/javascript" src="../node_modules/jsclass/min/loader.js"></script>
</head>
<body>
<script type="text/javascript">
View
@@ -1,5 +1,4 @@
-JSCLASS_PATH = 'vendor/js.class/build/src'
-require('../' + JSCLASS_PATH + '/loader')
+require('jsclass')
JS.Packages(function() { with(this) {
file('build/faye-node.js').provides('Faye')
View
@@ -15,11 +15,7 @@ job = TestSwarm::Job.create(
:diff => ["javascript", "spec/javascript"],
:inject => "spec/browser.html",
- :build => [
- "cd vendor/js.class && jake",
- "rm -rf build",
- "jake"
- ]
+ :build => ["npm install", "rm -rf build", "jake"]
)
exit unless job.new?
Submodule js.class deleted from 5bb2df

0 comments on commit cefaa25

Please sign in to comment.