1 | # Blossom's Foundation framework
|
2 |
|
3 | This framework includes all of the non-Application, non-Datastore code in
|
4 | Blossom. It is designed to run in browsers, on Node, and on all of Blossom's
|
5 | native runtimes.
|
6 |
|
7 | Blossom's Datastore and Application frameworks both require Blossom's
|
8 | Foundation framework to run.
|
9 |
|
10 | If you have installed Blossom as an `npm` module (see `npm link`), you can
|
11 | include Blossom's Foundation framework in your code like this:
|
12 |
|
13 | ```javascript
|
14 | // in your projectfile.js
|
15 | require('blossom/buildtools'); // needed to bring in the BT global
|
16 |
|
17 | var project = BT.Project.create({
|
18 | "foundation": require('blossom/foundation')
|
19 | });
|
20 | ``` |
\ | No newline at end of file |