This repository has been archived by the owner on May 29, 2024. It is now read-only.
forked from recalapp/recal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed course_selection/bower_components wrapper
now bower_components live in /static/bower_components
- Loading branch information
Showing
6 changed files
with
115 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"directory" : "course_selection/static/course_selection/bower_components" | ||
"directory" : "course_selection/static/bower_components" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,69 @@ | ||
/// <reference path="../ts/typings/tsd.d.ts" /> | ||
function staticPath(path) { | ||
return '../' + path; | ||
} | ||
function bowerPath(path) { | ||
return staticPath('course_selection/bower_components/' + path); | ||
} | ||
require.config({ | ||
paths: { | ||
/* this is flatstrap */ | ||
'flatstrap': bowerPath('flatstrap/dist/js/flatstrap.min'), | ||
'fullcalendar': bowerPath('fullcalendar/dist/fullcalendar.min'), | ||
'jquery': bowerPath('jquery/jquery.min'), | ||
'jquery.cookie': bowerPath('jquery.cookie/jquery.cookie'), | ||
'jqueryui': bowerPath('jquery-ui/jquery-ui.min'), | ||
'moment': bowerPath('moment/min/moment.min'), | ||
'moment-timezone': bowerPath('moment-timezone/builds/moment-timezone-with-data'), | ||
'angular': bowerPath('angular/angular'), | ||
'angular-animate': bowerPath('angular-animate/angular-animate.min'), | ||
'angular-resource': bowerPath('angular-resource/angular-resource.min'), | ||
// 'angular-ui-calendar': bowerPath('angular-ui-calendar/src/calendar'), | ||
'angular-bootstrap': bowerPath('angular-bootstrap/ui-bootstrap-tpls.min'), | ||
'angular-local-storage': bowerPath('angular-local-storage/dist/angular-local-storage.min'), | ||
'angular-aria': bowerPath('angular-aria/angular-aria.min'), | ||
'angular-material': bowerPath('angular-material/angular-material.min'), | ||
'angular-hotkeys': bowerPath('angular-hotkeys/build/hotkeys.min'), | ||
'angular-loading-bar': bowerPath('angular-loading-bar/build/loading-bar'), | ||
'qtip': bowerPath('qtip2/jquery.qtip.min'), | ||
/* 'chai': bowerPath('chai/chai'), */ | ||
'text': bowerPath('requirejs-text/text') | ||
}, | ||
shim: { | ||
'flatstrap': ['jquery'], | ||
'fullcalendar': ['jqueryui'], | ||
'angular': { exports: 'angular', dep: ['jquery'] }, | ||
'angular-animate': ['angular'], | ||
'angular-aria': ['angular'], | ||
'angular-material': ['angular'], | ||
'angular-resource': ['angular'], | ||
// 'angular-ui-calendar': ['angular'], | ||
'angular-bootstrap': ['angular'], | ||
'angularRoute': ['angular'], | ||
'angular-hotkeys': ['angular'], | ||
'angular-local-storage': ['angular'], | ||
'angular-loading-bar': ['angular'], | ||
}, | ||
priority: [ | ||
"angular" | ||
] | ||
}); | ||
require(['angular', | ||
'angular-animate', | ||
'angular-local-storage', | ||
'angular-hotkeys', | ||
'angular-aria', | ||
'angular-material', | ||
'angular-loading-bar', | ||
'angular-resource', | ||
'moment', | ||
/* 'chai', */ | ||
'fullcalendar', | ||
// 'angular-ui-calendar', | ||
'angular-bootstrap', | ||
'Application', | ||
'controllers/Controllers', | ||
'filters/Filters', | ||
'services/Services', | ||
'directives/Directives', | ||
'jquery', | ||
'qtip', | ||
'flatstrap' | ||
], function (angular) { | ||
angular.bootstrap(document, ['nice']); | ||
}); | ||
// TypeScript declarations useful for importing angular modules | ||
/* | ||
declare module 'angular' { | ||
var angular: ng.IAngularStatic; | ||
export = angular; | ||
} | ||
*/ | ||
//# sourceMappingURL=config.js.map | ||
/// <reference path="../ts/typings/tsd.d.ts" /> | ||
function staticPath(path) { | ||
return "/static/" + path; | ||
} | ||
function appPath(path) { | ||
return "../js/" + path; | ||
} | ||
require.config({ | ||
baseUrl: staticPath("bower_components/"), | ||
paths: { | ||
'flatstrap': 'flatstrap/dist/js/flatstrap.min', | ||
'fullcalendar': 'fullcalendar/dist/fullcalendar.min', | ||
'jquery': 'jquery/jquery.min', | ||
'jquery.cookie': 'jquery.cookie/jquery.cookie', | ||
'jqueryui': 'jquery-ui/jquery-ui.min', | ||
'moment': 'moment/min/moment.min', | ||
'moment-timezone': 'moment-timezone/builds/moment-timezone-with-data', | ||
'angular': 'angular/angular', | ||
'angular-animate': 'angular-animate/angular-animate.min', | ||
'angular-resource': 'angular-resource/angular-resource.min', | ||
'angular-bootstrap': 'angular-bootstrap/ui-bootstrap-tpls.min', | ||
'angular-local-storage': 'angular-local-storage/dist/angular-local-storage.min', | ||
'angular-aria': 'angular-aria/angular-aria.min', | ||
'angular-material': 'angular-material/angular-material.min', | ||
'angular-hotkeys': 'angular-hotkeys/build/hotkeys.min', | ||
'angular-loading-bar': 'angular-loading-bar/build/loading-bar', | ||
'qtip': 'qtip2/jquery.qtip.min', | ||
'text': 'requirejs-text/text' | ||
}, | ||
shim: { | ||
'flatstrap': ['jquery'], | ||
'fullcalendar': ['jqueryui'], | ||
'angular': { exports: 'angular', dep: ['jquery'] }, | ||
'angular-animate': ['angular'], | ||
'angular-aria': ['angular'], | ||
'angular-material': ['angular'], | ||
'angular-resource': ['angular'], | ||
'angular-bootstrap': ['angular'], | ||
'angularRoute': ['angular'], | ||
'angular-hotkeys': ['angular'], | ||
'angular-local-storage': ['angular'], | ||
'angular-loading-bar': ['angular'], | ||
}, | ||
priority: [ | ||
"angular" | ||
] | ||
}); | ||
require(['angular', | ||
'angular-animate', | ||
'angular-local-storage', | ||
'angular-hotkeys', | ||
'angular-aria', | ||
'angular-material', | ||
'angular-loading-bar', | ||
'angular-resource', | ||
'moment', | ||
'fullcalendar', | ||
'angular-bootstrap', | ||
appPath('Application'), | ||
appPath('controllers/Controllers'), | ||
appPath('filters/Filters'), | ||
appPath('services/Services'), | ||
appPath('directives/Directives'), | ||
'jquery', | ||
'qtip', | ||
'flatstrap' | ||
], function (angular) { | ||
angular.bootstrap(document, ['nice']); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters