Skip to content
This repository
Browse code

Hem does not have support for package.json/main attribute

  • Loading branch information...
commit e16df205c827fefc993d570a9217c802448d7511 1 parent da9420b
Alex MacCaw authored September 15, 2011
7  index.js
... ...
@@ -0,0 +1,7 @@
  1
+(function() {
  2
+  require('spine');
  3
+  require('spine/lib/manager');
  4
+  require('./lib/touch');
  5
+  exports.Stage = require('./lib/stage');
  6
+  exports.Panel = require('./lib/panel');
  7
+}).call(this);
5  lib/index.js
... ...
@@ -1,5 +0,0 @@
1  
-(function() {
2  
-  require('./touch');
3  
-  exports.Stage = require('./stage');
4  
-  exports.Panel = require('./panel');
5  
-}).call(this);
6  package.json
... ...
@@ -1,7 +1,7 @@
1 1
 { 
2 2
   "name": "spine.mobile", 
3 3
   "description": "Spine Mobile MVC Framework.", 
4  
-  "version": "0.0.1", 
  4
+  "version": "0.0.2", 
5 5
   "author": "maccman", 
6 6
   "licenses":
7 7
     [{ 
@@ -12,9 +12,9 @@
12 12
     "type" : "git", 
13 13
     "url": "http://github.com/maccman/spine.mobile.git"
14 14
   }, 
15  
-  "main" : "./lib/index.js",
  15
+  "main" : "./index.js",
16 16
   "dependencies" : {
17 17
     "spine": "~0.0.5",
18 18
     "gfx": "~0.0.1"    
19 19
   }
20  
-}
  20
+}
6  src/index.coffee
... ...
@@ -1,6 +0,0 @@
1  
-require('spine')
2  
-require('spine/lib/manager')
3  
-
4  
-require('./touch')
5  
-exports.Stage = require('./stage')
6  
-exports.Panel = require('./panel')

0 notes on commit e16df20

Please sign in to comment.
Something went wrong with that request. Please try again.