Alex Voitau
6f1b5f61ed
Minor: update jsdoc for PersistedModel.updateAll
2014-11-14 20:06:08 -08:00
Rand McKinney
21b28446bf
Update persisted-model.js
...
Note the PersistedMode.create() can take an array of instances, per #710 .
2014-11-06 10:56:37 -08:00
Miroslav Bajtoš
48d4ed28d3
Coding style cleanup (Gruntfile, lib)
...
- Gruntfile: add `jshint` and `jscs` as deps of `grunt test`
- Gruntfile: temporarily disable checks of `test` scripts
- .jscsrc: relax jsdoc validation
- .jshintrc: relax the rule for property access via dot notation
- lib: fix remaining style issues
2014-11-04 08:25:35 +01:00
Rob Halff
33096dafa7
Enable jscs for `lib`, fix style violations
2014-11-04 08:25:33 +01:00
Raymond Feng
e0ed755ed3
Make sure GET /:id/exists returns 200 {exists: true|false}
...
https://github.com/strongloop/loopback/issues/679
2014-10-22 14:39:39 -07:00
Rob Halff
4ebf10ae0d
add missing semicolons
2014-10-22 18:47:52 +02:00
Rand McKinney
f511bd38c9
Fix findById callback signature
2014-10-15 13:45:15 -07:00
Rand McKinney
e4118c367d
JSdoc fixes
...
Ad:
- update is alias for updateAll.
- Make callback optional for save method
2014-10-15 13:40:14 -07:00
Miroslav Bajtoš
20026a9d04
Fix places using undefined variables
...
Also enable jshint option "undefined" in order to catch these kind
of errors in the future.
2014-10-15 16:44:00 +02:00
crandmck
2f4a54d93c
Clean up jsdoc comments
...
Add class properties, expose some methods that should have
been documented, etc.
2014-10-15 09:42:24 +02:00
Miroslav Bajtoš
0906a6f5b3
models: move Change LDL def into a json file
2014-10-14 09:04:43 +02:00
Miroslav Bajtoš
1fe0110849
Dismantle `lib/models`.
...
- Move core models `Model` and `PersistedModel` to `lib/`.
- Move `AccessContext` class to `lib/`, since it is not a model.
- Move all other built-in models to `common/models`.
This is a preparation for extracting model definitions to JSON files.
By splitting the change into multiple commits, git is able to keep track
of file moves (renames).
2014-10-13 12:09:27 +02:00