UNPKG

1.49 kBJavaScriptView Raw
1//store require if it exists, to be able to catch nodejs' require
2var nodeRequire = require;
3//requirejs base config
4var require = {
5 baseUrl: 'js/',
6 paths: {
7 'q': '../components/q/q',
8 'jquery': '../components/jquery/jquery.min',
9 'angular': '../components/angular/angular.min',
10 'angular-sanitize': '../components/angular-sanitize/angular-sanitize.min',
11 'angular-animate': '../components/angular-animate/angular-animate',
12 'angular-touch': '../components/angular-touch/angular-touch.min',
13 'angular-bootstrap': '../components/angular-bootstrap/ui-bootstrap-tpls',
14 'angular-storage': '../components/angular-storage/angular-storage',
15 'idbstore':'../components/idbwrapper/idbstore',
16 'signaturepad':'../components/signature-pad/jquery.signaturepad.min',
17 'ng-file-upload':'../components/ng-file-upload/ng-file-upload.min'
18 },
19 shim: {
20 'signaturepad': {
21 deps: ['jquery']
22 },
23 'angular': {
24 deps: ['jquery']
25 },
26 'angular-animate': {
27 deps: ['angular']
28 },
29 'angular-bootstrap': {
30 deps: ['angular']
31 },
32 'angular-touch': {
33 deps: ['angular']
34 },
35 'angular-sanitize': {
36 deps: ['angular']
37 },
38 'angular-storage': {
39 deps: ['angular']
40 },
41 'ng-file-upload' : {
42 deps : ['angular']
43 }
44 }
45};