Code Monkey home page Code Monkey logo

modelizer's Issues

Fix IE10

INFO [IE 10.0.0 (Windows 7)]: Connected on socket PofRRPffcrAKufWzF_PJ
IE 10.0.0 (Windows 7) Integration Tests Basic Functions should be possible to ch
ange some values and save again FAILED
done() invoked with non-Error: There should still be only one object in
the store
IE 10.0.0 (Windows 7) Integration Tests Basic Functions should fail to get the d
eleted object FAILED
done() invoked with non-Error: There should be no result
IE 10.0.0 (Windows 7) Integration Tests Array and Object Attributes Functions ob
ject should have been created correctly FAILED
done() invoked with non-Error: PersonModel should have only one object
IE 10.0.0 (Windows 7): Executed 27 of 27 (3 FAILED) (0.723 secs / 0.329 secs)

References to later defined (or self referencing) models

var EmployeesModel = new model("Employee", {
...
boss_of : RefArray(ProjectsModel) // geht das, oder ist das ein Problem, weil ProjectsModel erst weiter unten definiert wird?
});

// The Model-definition of a project
var ProjectsModel = new model('Project', {
...
participants : RefArray(EmployeesModel)
});

More Firebase like API

Using Getter/Setters:

var o = new Object();
o.defineSetter("foo", function(val) {foo=val;})
undefined
o.defineGetter("foo", function() {return foo;})
undefined
o
{ a: 'foo',
b: 'bar',
foo: [Getter/Setter] }

See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineGetter

Better Array Handling:

o.c = [1,23]
o.c.fn = function() {}

o
{ a: 'foo',
b: 'bar',
foo: [Getter/Setter],
c: [ 1, 23, fn: [Function] ] }

o.c.fn
[Function]
o.c.length
2

findOne mongo.js problem

ReferenceError: user is not defined
at Object.getMyActivities (/Users/jonathan/Projects/reacture/reacture/server/models/serverModel.js:125:62)
at collection.callOperation (/Users/jonathan/Projects/modelizer/lib/modelizer.js:996:44)
at Object.use.callOp (/Users/jonathan/Projects/modelizer/lib/modelizer.js:909:30)
at Object.useFiltered.callOp (/Users/jonathan/Projects/modelizer/lib/modelizer.js:790:23)
at /Users/jonathan/Projects/modelizer/lib/modelizer.js:272:24
at callbacks (/Users/jonathan/Projects/reacture/reacture/server/node_modules/express/lib/router/index.js:164:37)
at param (/Users/jonathan/Projects/reacture/reacture/server/node_modules/express/lib/router/index.js:138:11)
at param (/Users/jonathan/Projects/reacture/reacture/server/node_modules/express/lib/router/index.js:135:11)
at pass (/Users/jonathan/Projects/reacture/reacture/server/node_modules/express/lib/router/index.js:145:5)
at nextRoute (/Users/jonathan/Projects/reacture/reacture/server/node_modules/express/lib/router/index.js:100:7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.