Amir Jafarian
e038b28e8c
Fix manually
2016-10-19 17:35:26 -04:00
Amir Jafarian
9da0e501da
Backport globalization
...
Backport loopback-datasource-juggler#1022,
loopback-datasource-juggler#1024,
loopback-datasource-juggler#1026
2016-08-09 21:52:11 -04:00
Simon Ho
65d6d6a508
Backport ESLint from master
2016-05-20 17:35:23 +02:00
Miroslav Bajtoš
a5187765f6
Run `eslint --fix` with config from master
2016-04-18 16:00:04 +02:00
Miroslav Bajtoš
093a69328c
Insert copyright headers
2016-04-06 16:51:49 +02:00
Miroslav Bajtoš
03daaca9de
Deprecate Model hooks
...
List of deprecated hooks:
- beforeValidate
- afterValidate
- beforeCreate
- afterCreate
- beforeSave
- afterSave
- beforeUpdate
- afterUpdate
- beforeDestroy
- afterDestroy
Also add a lightweight browser version of "depd", because the "depd"
does not support browser and it is not trivial to fix that.
This commits adds a lightweight implementation of depd's "deprecate"
function.
2015-02-27 16:58:24 +01:00
Raymond Feng
9325ce316b
Allow before hooks to pass arguments to next()
2014-07-15 12:51:33 -07:00
crandmck
893768e895
Add hooks and include mixins
2014-06-18 16:42:00 -07:00
Raymond Feng
2b8c1ebaee
Reformat the code
2014-01-24 09:09:53 -08:00
Raymond Feng
dd8512bc1f
Refactor more functions into mixins
2013-05-27 22:20:43 -07:00
Raymond Feng
184c190223
Bring up the schema loading from json docs
2013-05-20 16:05:59 -07:00
Raymond Feng
630b991d1d
Refactor the CRUD operations to DataAccessObject
2013-05-17 08:49:57 -07:00
Anatoliy Chakkaev
136ea91fbf
Organize model.js
2013-05-13 22:04:28 -07:00
Anatoliy Chakkaev
48d78b71f6
Rename validation hooks
...
Name should be "beforeValidate" and "afterValidate"
to be consistent with other hook hames. This change doesnt break
backward compatibility
2013-03-28 15:23:31 +04:00
Anatoliy Chakkaev
2fa07e8e1d
Rename essentials
2013-03-25 01:27:36 +04:00