/*
* requireJS Config
* Resources:
* - Jim's PeopleSoft Journal - http://jjmpsj.blogspot.com/2015/02/using-requirejs-to-manage-dependencies.html
* - Delivered PT_CHART_JET HTML Object
*/
var cskWsPath = '/cs/' + getSiteName() + '/oraclejet/js/libs/';
var cskBowerCompsPath = '/cs/' + getSiteName() + '/bower_components';
requirejs.config({
paths: {
/* Using non-standard name because 1.6.2 is not AMD compliant whereas
* later versions are compliant. Don't want conflict with later version
*/
'jquery':cskWsPath+'jquery/jquery-2.1.3.min',
'jquery_1_7_2':getScriptUrl('CSK_JQUERY_1_7_2_JS'),
'jqueryui':getScriptUrl('PT_JQUERY_UI_1_X_JS'),
'jquery-private':getScriptUrl('CSK_JQUERY_PRIVATE_JS'),
/* Oracle JET */
'knockout': cskBowerCompsPath+'/knockout/dist/knockout',
'ojs':cskBowerCompsPath+'/oraclejet/dist/js/libs/oj/debug',
'ojL10n':cskBowerCompsPath+'/oraclejet/dist/js/libs/oj/ojL10n',
'ojtranslations':cskBowerCompsPath+'/oraclejet/dist/js/libs/oj/resources',
'promise':cskBowerCompsPath+'/es6-promise/promise.min',
'ojdnd':cskBowerCompsPath+'/oraclejet/dist/js/libs/dnd-polyfill/dnd-polyfill-1.0.0.min',
'jqueryui-amd':cskBowerCompsPath+'/jquery-ui/ui/minified',
'signals':cskBowerCompsPath+'/js-signals/dist/signals.min'
},
map: {
// '*' means all modules will get 'jquery-private'
// for their 'jquery' dependency.
'*': { 'jquery': 'jquery-private' },
'*': { 'jquery_1_7_2': 'jquery-private' },
// 'jquery-private' wants the real jQuery module
// though. If this line was not here, there would
// be an unresolvable cyclic dependency.
'jquery-private': { 'jquery': 'jquery' }
},
//% Shim configurations
shim: {
'jqueryui': {
deps: ['jquery', 'jquery_1_7_2']
}
}
});
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.