Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating paths.

  • Loading branch information...
commit b47a6b6ef8f2d6eb8632e7f0826ef94b63f2fb08 1 parent 9424262
@GCheung55 authored
View
2  mixins/sync.js
@@ -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;
/**
View
10 src/collection/main.js
@@ -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
6 src/main.js
@@ -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
4 src/model/main.js
@@ -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,
Please sign in to comment.
Something went wrong with that request. Please try again.