Permalink
Browse files

better Ext folder management

  • Loading branch information...
1 parent 09d6a77 commit b7bd85440b471d311b54cb3e2f0bf20d72af184e @egorFiNE committed Sep 15, 2011
Showing with 5 additions and 5 deletions.
  1. +2 −2 README.md
  2. +2 −2 index.js
  3. +1 −1 package.json
View
@@ -8,11 +8,11 @@ This [node.js](http://nodejs.org) module is providing support for using [ExtJS4]
I cannot redistribute ExtJS with this module, so you will not be able to install it from npm repository directly
-However, installation via npm is possible if done manually.
+However, installation via npm is easily done manually:
1. Download ExtJS from http://www.sencha.com/products/extjs/download/
2. Extract it
-3. Copy contents of <code>src/</code> into <code>lib/</code> here
+3. Copy contents of <code>src/</code> into <code>lib/Ext/</code> in here
4. <code>npm install .</code>
## Usage
View
@@ -1,5 +1,5 @@
var ExtLoader = function() {
- var extCorePath=__dirname+'/lib/core/src/';
+ var extCorePath=__dirname+'/lib/Ext/core/src/';
this.load = function () {
require(extCorePath+'Ext.js');
@@ -23,7 +23,7 @@ var ExtLoader = function() {
require(__dirname+'/Ext-more-srv-4.0.2.js');
Ext.Loader.config.enabled = true;
- Ext.Loader.setPath('Ext', __dirname+'/lib');
+ Ext.Loader.setPath('Ext', __dirname+'/lib/Ext');
global.__defineGetter__('window', function() {
return {};
View
@@ -5,7 +5,7 @@
"bugs": {
"url": "http://github.com/egorFiNE/node-extjs/issues"
},
- "version": "0.0.1",
+ "version": "0.0.2",
"author": "Egor Egorov <me@egorfine.com>",
"repository": {
"type": "git",

0 comments on commit b7bd854

Please sign in to comment.