| /* |
| * 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. |
| */ |
| |
| requirejs.config({ |
| "paths":{ |
| "backbone":"//cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.10/backbone-min", |
| "bootstrap": '//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.0.3/bootstrap.min', |
| //The qs param ?a=b is a hack to force r.js optimizer to treat this as a network script, so it |
| //won't try to bundle the resource |
| "clientMessages": "../../app/messagebundle/rave_client_messages.js?a=b", |
| "handlebars":"//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.rc.2/handlebars.min", |
| "jquery": "//ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.2.min", |
| "jqueryUi":"//ajax.aspnetcdn.com/ajax/jquery.ui/1.8.17/jquery-ui.min", |
| "jqueryValidate":"//ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min", |
| "jqueryHashChange":'//cdnjs.cloudflare.com/ajax/libs/jquery-hashchange/v1.3/jquery.ba-hashchange.min', |
| "jqueryTouchPouch": '//cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.2/jquery.ui.touch-punch.min', |
| "osapi":"//placeholder.url.will.be.replaced.by.opensocial.environment", |
| "rave": "core/main", |
| "ui": "portal/main", |
| "underscore": "//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min" |
| }, |
| shim: { |
| backbone: { |
| deps: ['underscore', 'jquery'], |
| exports: 'Backbone' |
| }, |
| bootstrap:{ |
| deps:['jquery'] |
| }, |
| handlebars:{ |
| exports:'Handlebars' |
| }, |
| jquery:{ |
| exports:'$' |
| }, |
| jqueryUi:{ |
| deps: ['jquery'] |
| }, |
| jqueryValidate:{ |
| deps:['jquery'] |
| }, |
| jqueryHashChange:{ |
| deps:['jquery'] |
| }, |
| jqueryTouchPouch:{ |
| deps:['jquery'] |
| }, |
| underscore: { |
| exports: '_' |
| } |
| } |
| }); |