mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-04 08:59:39 -04:00
Cleans code.
This commit is contained in:
parent
70f4500232
commit
396bc6662f
7 changed files with 12 additions and 87 deletions
|
@ -31,9 +31,7 @@
|
|||
// @include "inc/**/*.js"
|
||||
|
||||
var $ = jQuery,
|
||||
filename = 'client/js/scripts.js',
|
||||
$script = $('script[src$="' + filename + '"]'),
|
||||
mode = $script.data('mode');
|
||||
mode = $('script[src$="scripts.js"]').data('mode');
|
||||
|
||||
if (mode === 'info') {
|
||||
|
||||
|
@ -41,7 +39,7 @@
|
|||
|
||||
} else {
|
||||
|
||||
$.getJSON('.', {action: 'get', options: true, types: true, langs: true, server: true}, function (config) {
|
||||
$.getJSON('.', {action: 'get', options: true, types: true, langs: true, server: true, entries: true}, function (config) {
|
||||
|
||||
modulejs.define('config', config);
|
||||
$(function () { modulejs.require('main'); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue