/* | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance | |
* with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, | |
* software distributed under the License is distributed on an | |
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
* KIND, either express or implied. See the License for the | |
* specific language governing permissions and limitations | |
* under the License. | |
*/ | |
/* Custom configuration for Jasmine tests. */ | |
/* Libraries */ | |
paths:{ | |
"jquery":"js/libs/jquery", | |
"underscore":"js/libs/underscore", | |
"backbone":"js/libs/backbone", | |
"bootstrap":"js/libs/bootstrap", | |
"jquery-form":"js/libs/jquery.form", | |
"jquery-datatables":"js/libs/jquery.dataTables", | |
"jquery-slideto":"js/util/jquery.slideto", | |
"jquery-wiggle":"js/libs/jquery.wiggle.min", | |
"jquery-ba-bbq":"js/libs/jquery.ba-bbq.min", | |
"jquery-easy-autocomplete": "js/libs/jquery.easy-autocomplete", | |
"moment":"js/libs/moment", | |
"handlebars":"js/libs/handlebars-1.0.rc.1", | |
"brooklyn":"js/util/brooklyn", | |
"brooklyn-view":"js/util/brooklyn-view", | |
"brooklyn-utils":"js/util/brooklyn-utils", | |
"datatables-extensions":"js/util/dataTables.extensions", | |
"googlemaps":"view/googlemaps", | |
// async deliberately excluded | |
"text":"js/libs/text", | |
"uri":"js/libs/URI", | |
"zeroclipboard":"js/libs/ZeroClipboard", | |
"js-yaml":"js/libs/js-yaml", | |
"js-yaml-parser":"js/util/code-complete/js-yaml-parser", | |
"brooklyn-yaml-completion-proposals":"js/util/code-complete/brooklyn-yaml-completion-proposals", | |
"codemirror":"js/libs/codemirror", | |
"codemirror-mode-yaml":"js/libs/codemirror/mode/yaml/yaml", | |
"codemirror-addon-show-hint":"js/libs/codemirror/addon/hint/show-hint", | |
"codemirror-addon-anyword-hint":"js/libs/codemirror/addon/hint/anyword-hint", | |
"codemirror-addon-display-placeholder":"js/libs/codemirror/addon/display/placeholder", | |
"model":"js/model", | |
"view":"js/view", | |
"router":"js/router" | |
}, | |
shim:{ | |
"underscore":{ | |
exports:"_" | |
}, | |
"backbone":{ | |
deps:[ "underscore", "jquery" ], | |
exports:"Backbone" | |
}, | |
"jquery-datatables": { | |
deps: [ "jquery" ] | |
}, | |
"datatables-extensions":{ | |
deps:[ "jquery", "jquery-datatables" ] | |
}, | |
"codemirror":{ | |
exports:"CodeMirror" | |
}, | |
"jquery-form": { deps: [ "jquery" ] }, | |
"jquery-slideto": { deps: [ "jquery" ] }, | |
"jquery-wiggle": { deps: [ "jquery" ] }, | |
"jquery-ba-bbq": { deps: [ "jquery" ] }, | |
"jquery-easy-autocomplete": { deps: [ "jquery" ] }, | |
"handlebars": { deps: [ "jquery" ] }, | |
"bootstrap": { deps: [ "jquery" ] /* http://stackoverflow.com/questions/9227406/bootstrap-typeerror-undefined-is-not-a-function-has-no-method-tab-when-us */ } | |
}, | |
// Seconds require will wait before timing out. Defaults to seven seconds. | |
waitSeconds: 300 |