forked from pjekel/cbtree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
32 lines (32 loc) · 1.05 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// Copyright (c) 2010-2012, Peter Jekel
// All rights reserved.
//
// The Checkbox Tree (cbtree), also known as the 'Dijit Tree with Multi State Checkboxes'
// is released under to following three licenses:
//
// 1 - BSD 2-Clause (http://thejekels.com/js/cbtree/LICENSE)
// 2 - The "New" BSD License (http://bugs.dojotoolkit.org/browser/dojo/trunk/LICENSE#L13)
// 3 - The Academic Free License (http://bugs.dojotoolkit.org/browser/dojo/trunk/LICENSE#L43)
//
// In case of doubt, the BSD 2-Clause license takes precedence.
//
define([
"./CheckBox",
"./Tree",
"./models/ForestStoreModel",
"./models/TreeStoreModel",
"./models/StoreModel-API",
"./TreeStyling"
], function( CheckBox, Tree, ForestStoreModel, TreeStoreModel, StoreModelAPI, TreeStyling ){
// Define the 'Dijit CheckBox Tree' (cbtree) including the optional
// Tree store API and Tree Styling extensions.
var cbtree = {
Tree: Tree,
ForestStoreModel: ForestStoreModel,
TreeStoreModel: TreeStoreModel,
CheckBox: CheckBox
};
return cbtree;
}
);