Permalink
Browse files

refs #3 #2 Modified License, example and README.md

  • Loading branch information...
1 parent 2ecb4c4 commit e723a8ad88513c89db67b30f318be7a9cbb9dbd1 @xcambar committed Apr 17, 2012
Showing with 22 additions and 29 deletions.
  1. +0 −23 .project
  2. +16 −0 LICENSE
  3. +3 −3 README.md
  4. +3 −3 examples/bootstrap.js
View
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>n-ext</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>com.aptana.ide.core.unifiedBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.aptana.projects.webnature</nature>
- <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
- </natures>
-</projectDescription>
View
16 LICENSE
@@ -1,3 +1,19 @@
+ExtJS4 is Copyright (c) 2011 Sencha Inc
+
+Contact: http://www.sencha.com/contact
+
+GNU General Public License Usage
+This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
+
+If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
+
+
+=================================
+=================================
+
+
+N-ext is licensed under the MIT License
+
(The MIT License)
Copyright (c) 2011 Xavier CAMBAR <xavier.cambar@lecoffre.net>
View
@@ -52,7 +52,7 @@ So I plunged into Node.js and started coding N-Ext, hoping to have a consistent
* Why does the ```Ext``` namespace have to be global to the app ?
-I agree this is counter-intuitive forin regards to the [CommonJS](http://www.commonjs.org/) conventions, but this is a
+I agree this is counter-intuitive in regards to the [CommonJS](http://www.commonjs.org/) conventions, but this is a
limitation due to the way the Ext namespace is constructed and its packages are self- and inter-referencing through the namespace.
I've worked a little on sandboxing the Ext namespace and having it in the exports variable of the module, but to no avail yet.
@@ -65,5 +65,5 @@ See the ```LICENSE``` File
##Contact
* Xavier Cambar
* Directly on GitHub
- * Mail : xavier.cambar@lecoffre.net
- * Twitter: (@xcambar)[http://twitter.com/#!/xcambar]
+ * Mail : xavier.cambar@gmail.com
+ * Twitter: [@xcambar](http://twitter.com/#!/xcambar)
View
@@ -3,11 +3,11 @@
* the library in order to use ExtJS in a Node.JS environment
*/
-require.paths.unshift('/usr/local/lib/node_modules');
var sencha = require('n-ext');
sencha.bootstrapCore();
+Ext.Loader.setPath('Next', 'lib/Next');
//That's all that is required to be able to use the data package of ExtJS in a node environment
-Ext.require('NoSQL.model.Document');
-var d = Ext.create('NoSQL.model.Document');
+Ext.require('Next.model.NoSQL.Document');
+var d = Ext.create('Next.model.NoSQL.Document');

0 comments on commit e723a8a

Please sign in to comment.