Commit Graph

4 Commits

Author SHA1 Message Date
Samuel Reed f61f8fc5d2
Update to lodash 4. 2020-02-28 18:02:33 -05:00
Ryan Graham 77029d9bbf Replace lodash.clonedeep with lodash 3 2015-04-23 01:05:18 -07:00
Miroslav Bajtoš 05b53d52fd compiler: return a clone of instructions
When executor passes the instruction to loopback methods,
loopback modifies the data. Since we are loading the data using
`require` such changes affects also code that calls
`require` for one of the instructions files.

This change adds a deep clone step to prevent this issue.
2014-07-16 20:44:30 +02:00
Miroslav Bajtoš b14800416a Split the boot process into two steps
Split bootLoopBackApp into two steps:
 - compile
 - execute

Most of the changes are just shuffling the existing code around.

What has changed:

 - `loopback.autoAttach()` is called after `models/*` are required.
   The calls were made in the opposite order before this commit.
2014-06-03 08:13:14 +02:00