UNPKG

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