mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 04:24:45 -04:00
Sort module deps.
This commit is contained in:
parent
476df8219f
commit
84693e6404
23 changed files with 23 additions and 23 deletions
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('core/langs', ['config', '_'], function (config, _) {
|
||||
modulejs.define('core/langs', ['_', 'config'], function (_, config) {
|
||||
|
||||
return _.extend({}, config.langs);
|
||||
});
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('core/location', ['_', 'modernizr', 'core/settings', 'core/event', 'core/notify'], function (_, modernizr, allsettings, event, notify) {
|
||||
modulejs.define('core/location', ['_', 'modernizr', 'core/event', 'core/notify', 'core/settings'], function (_, modernizr, event, notify, allsettings) {
|
||||
|
||||
var settings = _.extend({
|
||||
smartBrowsing: true,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('core/server', ['$', '_', 'config', 'core/location'], function ($, _, config, location) {
|
||||
modulejs.define('core/server', ['_', '$', 'config', 'core/location'], function (_, $, config, location) {
|
||||
|
||||
var hasApi = config.setup.API === true;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('core/settings', ['config', '_'], function (config, _) {
|
||||
modulejs.define('core/settings', ['_', 'config'], function (_, config) {
|
||||
|
||||
return _.extend({}, config.options, {
|
||||
appHref: config.setup.APP_HREF,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('core/types', ['config', '_'], function (config, _) {
|
||||
modulejs.define('core/types', ['_', 'config'], function (_, config) {
|
||||
|
||||
var reEndsWithSlash = /\/$/;
|
||||
var regexps = {};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/autorefresh', ['_', '$', 'core/settings', 'core/event', 'core/location'], function (_, $, allsettings, event, location) {
|
||||
modulejs.define('ext/autorefresh', ['_', '$', 'core/event', 'core/location', 'core/settings'], function (_, $, event, location, allsettings) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/contextmenu', ['_', '$', 'core/settings', 'core/resource'], function (_, $, allsettings, resource) {
|
||||
modulejs.define('ext/contextmenu', ['_', '$', 'core/resource', 'core/settings'], function (_, $, resource, allsettings) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/crumb', ['_', '$', 'core/settings', 'core/resource', 'core/event', 'core/location'], function (_, $, allsettings, resource, event, location) {
|
||||
modulejs.define('ext/crumb', ['_', '$', 'core/event', 'core/location', 'core/resource', 'core/settings'], function (_, $, event, location, resource, allsettings) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/custom', ['_', '$', 'marked', 'core/settings', 'core/server', 'core/event'], function (_, $, marked, allsettings, server, event) {
|
||||
modulejs.define('ext/custom', ['_', '$', 'marked', 'core/event', 'core/server', 'core/settings'], function (_, $, marked, event, server, allsettings) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/google-analytics-ua', ['_', 'core/settings', 'core/event'], function (_, allsettings, event) {
|
||||
modulejs.define('ext/google-analytics-ua', ['_', 'core/event', 'core/settings'], function (_, event, allsettings) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/preview-audio', ['_', '$', 'core/settings', 'core/event', 'core/format', 'ext/preview'], function (_, $, allsettings, event, format, preview) {
|
||||
modulejs.define('ext/preview-audio', ['_', '$', 'core/event', 'core/format', 'core/settings', 'ext/preview'], function (_, $, event, format, allsettings, preview) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/preview-img', ['_', '$', 'core/settings', 'core/event', 'core/server', 'ext/preview'], function (_, $, allsettings, event, server, preview) {
|
||||
modulejs.define('ext/preview-img', ['_', '$', 'core/event', 'core/server', 'core/settings', 'ext/preview'], function (_, $, event, server, allsettings, preview) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/preview-txt', ['_', '$', 'marked', 'prism', 'core/settings', 'core/event', 'ext/preview'], function (_, $, marked, prism, allsettings, event, preview) {
|
||||
modulejs.define('ext/preview-txt', ['_', '$', 'marked', 'prism', 'core/event', 'core/settings', 'ext/preview'], function (_, $, marked, prism, event, allsettings, preview) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/preview-vid', ['_', '$', 'core/settings', 'core/event', 'ext/preview'], function (_, $, allsettings, event, preview) {
|
||||
modulejs.define('ext/preview-vid', ['_', '$', 'core/event', 'core/settings', 'ext/preview'], function (_, $, event, allsettings, preview) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/preview', ['_', '$', 'core/settings', 'core/resource', 'core/store'], function (_, $, allsettings, resource, store) {
|
||||
modulejs.define('ext/preview', ['_', '$', 'core/resource', 'core/settings', 'core/store'], function (_, $, resource, allsettings, store) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/select', ['_', '$', 'core/settings', 'core/resource', 'core/event'], function (_, $, allsettings, resource, event) {
|
||||
modulejs.define('ext/select', ['_', '$', 'core/event', 'core/resource', 'core/settings'], function (_, $, event, resource, allsettings) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/sort', ['_', '$', 'core/settings', 'core/resource', 'core/event', 'core/store', 'core/util'], function (_, $, allsettings, resource, event, store, util) {
|
||||
modulejs.define('ext/sort', ['_', '$', 'core/event', 'core/resource', 'core/settings', 'core/store', 'core/util'], function (_, $, event, resource, allsettings, store, util) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/thumbnails', ['_', 'core/settings', 'core/event', 'core/server'], function (_, allsettings, event, server) {
|
||||
modulejs.define('ext/thumbnails', ['_', 'core/event', 'core/server', 'core/settings'], function (_, event, server, allsettings) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/title', ['_', 'core/settings', 'core/event'], function (_, allsettings, event) {
|
||||
modulejs.define('ext/title', ['_', 'core/event', 'core/settings'], function (_, event, allsettings) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('ext/tree', ['_', '$', 'core/settings', 'core/resource', 'core/store', 'core/event', 'core/location', 'core/util'], function (_, $, allsettings, resource, store, event, location, util) {
|
||||
modulejs.define('ext/tree', ['_', '$', 'core/event', 'core/location', 'core/resource', 'core/settings', 'core/store', 'core/util'], function (_, $, event, location, resource, allsettings, store, util) {
|
||||
|
||||
var settings = _.extend({
|
||||
enabled: false,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('model/item', ['_', 'core/types', 'core/event', 'core/settings', 'core/server', 'core/location'], function (_, types, event, settings, server, location) {
|
||||
modulejs.define('model/item', ['_', 'core/event', 'core/location', 'core/settings', 'core/server', 'core/types'], function (_, event, location, settings, server, types) {
|
||||
|
||||
var reEndsWithSlash = /\/$/;
|
||||
var reSplitPath = /^(.*\/)([^\/]+\/?)$/;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('view/content', ['_', '$', 'core/settings', 'core/resource', 'core/format', 'core/event', 'core/location'], function (_, $, allsettings, resource, format, event, location) {
|
||||
modulejs.define('view/content', ['_', '$', 'core/event', 'core/format', 'core/location', 'core/resource', 'core/settings'], function (_, $, event, format, location, resource, allsettings) {
|
||||
|
||||
var settings = _.extend({
|
||||
binaryPrefix: false,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
modulejs.define('view/viewmode', ['_', '$', 'core/settings', 'core/resource', 'core/store', 'core/event'], function (_, $, allsettings, resource, store, event) {
|
||||
modulejs.define('view/viewmode', ['_', '$', 'core/event', 'core/resource', 'core/settings', 'core/store'], function (_, $, event, resource, allsettings, store) {
|
||||
|
||||
var modes = ['details', 'grid', 'icons'];
|
||||
var settings = _.extend({}, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue