Commit 61e04a0b authored by Jeff Sturek's avatar Jeff Sturek
Browse files

Merge branch 'dcf-fix' into 'master'

Fix absolute requirejs issue with import dcf-utility

See merge request !39
parents 5d249965 1fb240ab
<?php
$cacheVersion = date('Ymd');
$cacheVersion = date('Ymd') . 'v';
$search_engine_id = '015236299699564929946:nk1siew10ie';
$config_file = __DIR__ . '/../config.sample.php';
......
......@@ -16,9 +16,12 @@
</main>
</body>
<script>
require.config({
paths: { 'unlCMSJs': 'https://unlcms.unl.edu/wdn/templates_5.3/js/compressed' }
});
require([
'https://unlcms.unl.edu/wdn/templates_5.3/js/compressed/dcf-utility.js',
'https://unlcms.unl.edu/wdn/templates_5.3/js/compressed/dcf-tabs.js'
'unlCMSJs/dcf-utility',
'unlCMSJs/dcf-tabs'
], function(DCFUtilityModule, DCFTabsModule) {
try {
// Try DCF ^3.0 format first, then 2.0 format
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment