Permalink
Browse files

Updating paths.

  • Loading branch information...
1 parent 9424262 commit b47a6b6ef8f2d6eb8632e7f0826ef94b63f2fb08 @GCheung55 committed Oct 8, 2012
Showing with 12 additions and 10 deletions.
  1. +1 −1 mixins/sync.js
  2. +6 −4 src/collection/main.js
  3. +3 −3 src/main.js
  4. +2 −2 src/model/main.js
View
@@ -3,7 +3,7 @@
* @requires [MooTools-Core/Class]
*/
-var Sync = require('../src/Sync').Sync,
+var Sync = require('../src/sync/main').Sync,
Is = require('neuro-is').Is;
/**
@@ -11,9 +11,9 @@
*/
var collectionObj = require('Neuro/src/collection/main'),
- Model = require('./Model').Model,
- Sync = require('./Sync').Sync,
- Mixins = require('../mixins/sync');
+ Model = require('../model/main').Model,
+ Sync = require('../sync/main').Sync,
+ Mixins = require('../../mixins/sync');
var Collection = new Class({
Extends: collectionObj.Collection,
@@ -22,7 +22,9 @@ var Collection = new Class({
options: {
request: {},
- Model: Model
+ Model: {
+ constructor: Model
+ }
},
setup: function(models, options){
View
@@ -1,7 +1,7 @@
var Neuro = require('Neuro');
-Neuro.Sync = require('./Sync').Sync;
-Neuro.Model = require('./Model').Model;
-Neuro.Collection = require('./Collection').Collection;
+Neuro.Sync = require('./sync/main').Sync;
+Neuro.Model = require('./model/main').Model;
+Neuro.Collection = require('./collection/main').Collection;
exports = module.exports = Neuro;
View
@@ -11,8 +11,8 @@
*/
var modelObj = require('Neuro/src/model/main'),
- Sync = require('./Sync').Sync,
- Mixins = require('../mixins/sync');
+ Sync = require('../sync/main').Sync,
+ Mixins = require('../../mixins/sync');
var Model = new Class({
Extends: modelObj.Model,

0 comments on commit b47a6b6

Please sign in to comment.