mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
init, attempt to increase cold load speed
This commit is contained in:
1
app.js
1
app.js
@@ -33,6 +33,7 @@ var fs = require('fs'),
|
||||
|
||||
|
||||
global.env = process.env.NODE_ENV || 'production';
|
||||
global.env = process.env.NODE_ENV = 'production';
|
||||
|
||||
winston.remove(winston.transports.Console);
|
||||
winston.add(winston.transports.Console, {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, ajaxify, socket, app, config, utils, translator */
|
||||
|
||||
define(['forum/account/header', 'uploader'], function(header, uploader) {
|
||||
define('forum/account/edit', ['forum/account/header', 'uploader'], function(header, uploader) {
|
||||
var AccountEdit = {},
|
||||
gravatarPicture = '',
|
||||
uploadedPicture = '',
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app, utils */
|
||||
|
||||
define(['forum/account/header', 'forum/infinitescroll'], function(header, infinitescroll) {
|
||||
define('forum/account/favourites', ['forum/account/header', 'forum/infinitescroll'], function(header, infinitescroll) {
|
||||
var Favourites = {};
|
||||
|
||||
Favourites.init = function() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(['forum/account/header'], function(header) {
|
||||
define('forum/account/followers', ['forum/account/header'], function(header) {
|
||||
var Followers = {};
|
||||
|
||||
Followers.init = function() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(['forum/account/header'], function(header) {
|
||||
define('forum/account/following', ['forum/account/header'], function(header) {
|
||||
var Following = {};
|
||||
|
||||
Following.init = function() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function() {
|
||||
define('forum/account/header', function() {
|
||||
var AccountHeader = {};
|
||||
|
||||
AccountHeader.init = function() {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app, socket, utils */
|
||||
|
||||
define(['forum/account/header', 'forum/infinitescroll'], function(header, infinitescroll) {
|
||||
define('forum/account/posts', ['forum/account/header', 'forum/infinitescroll'], function(header, infinitescroll) {
|
||||
var AccountPosts = {};
|
||||
|
||||
AccountPosts.init = function() {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, ajaxify, app, utils, socket, translator*/
|
||||
|
||||
define(['forum/account/header'], function(header) {
|
||||
define('forum/account/profile', ['forum/account/header'], function(header) {
|
||||
var Account = {},
|
||||
yourid,
|
||||
theirid,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(['forum/account/header'], function(header) {
|
||||
define('forum/account/settings', ['forum/account/header'], function(header) {
|
||||
var AccountSettings = {};
|
||||
|
||||
AccountSettings.init = function() {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app, socket, utils */
|
||||
|
||||
define(['forum/account/header', 'forum/infinitescroll'], function(header, infinitescroll) {
|
||||
define('forum/account/topics', ['forum/account/header', 'forum/infinitescroll'], function(header, infinitescroll) {
|
||||
var AccountTopics = {};
|
||||
|
||||
AccountTopics.init = function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/*global define, socket, app, bootbox, templates, ajaxify, RELATIVE_PATH*/
|
||||
|
||||
define(['uploader'], function(uploader) {
|
||||
define('forum/admin/categories', ['uploader'], function(uploader) {
|
||||
var Categories = {};
|
||||
|
||||
Categories.init = function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/*global define, templates, socket, ajaxify, app, bootbox*/
|
||||
|
||||
define(function() {
|
||||
define('forum/admin/groups', function() {
|
||||
var Groups = {};
|
||||
|
||||
Groups.init = function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/*global define, ajaxify, app, socket, RELATIVE_PATH*/
|
||||
|
||||
define(function() {
|
||||
define('forum/admin/index', function() {
|
||||
var Admin = {};
|
||||
|
||||
Admin.init = function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/*global define*/
|
||||
|
||||
define(['forum/admin/settings'], function(Settings) {
|
||||
define('forum/admin/languages', ['forum/admin/settings'], function(Settings) {
|
||||
$(function() {
|
||||
Settings.prepare();
|
||||
});
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/* global define, app, socket */
|
||||
|
||||
define(function() {
|
||||
define('forum/admin/plugins', function() {
|
||||
var Plugins = {
|
||||
init: function() {
|
||||
var pluginsList = $('.plugins'),
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/*global define, app, socket, RELATIVE_PATH */
|
||||
|
||||
define(['uploader', 'sounds'], function(uploader, sounds) {
|
||||
define('forum/admin/settings', ['uploader', 'sounds'], function(uploader, sounds) {
|
||||
var Settings = {};
|
||||
|
||||
Settings.init = function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/* global define, socket */
|
||||
|
||||
define(['sounds', 'settings'], function(Sounds, Settings) {
|
||||
define('forum/admin/sounds', ['sounds', 'settings'], function(Sounds, Settings) {
|
||||
var SoundsAdmin = {};
|
||||
|
||||
SoundsAdmin.init = function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/*global define, socket, app, bootbox, tabIndent, config, RELATIVE_PATH*/
|
||||
|
||||
define(['forum/admin/settings'], function(Settings) {
|
||||
define('forum/admin/themes', ['forum/admin/settings'], function(Settings) {
|
||||
var Themes = {};
|
||||
|
||||
function highlightSelectedTheme(themeId) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
/* global socket, define, templates, bootbox, app, ajaxify, */
|
||||
define(function() {
|
||||
define('forum/admin/users', function() {
|
||||
var Users = {};
|
||||
|
||||
Users.init = function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/* global define, config, templates, app, utils, ajaxify, socket, translator */
|
||||
|
||||
define(['composer', 'forum/pagination', 'forum/infinitescroll', 'share', 'navigator', 'forum/categoryTools'], function(composer, pagination, infinitescroll, share, navigator, categoryTools) {
|
||||
define('forum/category', ['composer', 'forum/pagination', 'forum/infinitescroll', 'share', 'navigator', 'forum/categoryTools'], function(composer, pagination, infinitescroll, share, navigator, categoryTools) {
|
||||
var Category = {};
|
||||
|
||||
$(window).on('action:ajaxify.start', function(ev, data) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* globals define, app, translator, socket, bootbox */
|
||||
|
||||
|
||||
define(['forum/topic/move', 'topicSelect'], function(move, topicSelect) {
|
||||
define('forum/categoryTools', ['forum/topic/move', 'topicSelect'], function(move, topicSelect) {
|
||||
|
||||
var CategoryTools = {};
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app*/
|
||||
|
||||
define(function() {
|
||||
define('forum/chats', function() {
|
||||
var Chats = {};
|
||||
|
||||
Chats.init = function() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(['notifications', 'chat'], function(Notifications, Chat) {
|
||||
define('forum/footer', ['notifications', 'chat'], function(Notifications, Chat) {
|
||||
|
||||
Notifications.prepareDOM();
|
||||
Chat.prepareDOM();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
define(function() {
|
||||
define('forum/groups/details', function() {
|
||||
var Details = {};
|
||||
|
||||
Details.init = function() {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, socket, app, templates, translator, ajaxify*/
|
||||
|
||||
define(function() {
|
||||
define('forum/home', function() {
|
||||
var home = {};
|
||||
|
||||
$(window).on('action:ajaxify.start', function(ev, data) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, socket, ajaxify, translator, templates, app */
|
||||
|
||||
define(function() {
|
||||
define('forum/infinitescroll', function() {
|
||||
|
||||
var scroll = {};
|
||||
var callback;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/* global define, app, RELATIVE_PATH */
|
||||
|
||||
define(function() {
|
||||
define('forum/login', function() {
|
||||
var Login = {};
|
||||
|
||||
Login.init = function() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function() {
|
||||
define('forum/notifications', function() {
|
||||
var Notifications = {};
|
||||
|
||||
Notifications.init = function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
/*global define, utils, ajaxify, bootbox*/
|
||||
|
||||
define(function() {
|
||||
define('forum/pagination', function() {
|
||||
var pagination = {};
|
||||
|
||||
pagination.currentPage = 0;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app, socket*/
|
||||
|
||||
define(['forum/recent', 'forum/infinitescroll'], function(recent, infinitescroll) {
|
||||
define('forum/popular', ['forum/recent', 'forum/infinitescroll'], function(recent, infinitescroll) {
|
||||
var Popular = {},
|
||||
active = '';
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app, socket, utils */
|
||||
|
||||
define(['forum/infinitescroll'], function(infinitescroll) {
|
||||
define('forum/recent', ['forum/infinitescroll'], function(infinitescroll) {
|
||||
var Recent = {};
|
||||
|
||||
var newTopicCount = 0,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/* globals define, app, utils, socket, config */
|
||||
|
||||
|
||||
define(function() {
|
||||
define('forum/register', function() {
|
||||
var Register = {},
|
||||
validationError = false,
|
||||
successIcon = '<i class="fa fa-check"></i>';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function() {
|
||||
define('forum/reset', function() {
|
||||
var ResetPassword = {};
|
||||
|
||||
ResetPassword.init = function() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function() {
|
||||
define('forum/reset_code', function() {
|
||||
var ResetCode = {};
|
||||
|
||||
ResetCode.init = function() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function() {
|
||||
define('forum/search', function() {
|
||||
var Search = {};
|
||||
|
||||
Search.init = function() {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app, socket */
|
||||
|
||||
define(['forum/recent', 'forum/infinitescroll'], function(recent, infinitescroll) {
|
||||
define('forum/tag', ['forum/recent', 'forum/infinitescroll'], function(recent, infinitescroll) {
|
||||
var Tag = {};
|
||||
|
||||
Tag.init = function() {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/* globals define, app, templates, translator, socket, bootbox, config, ajaxify, RELATIVE_PATH, utils */
|
||||
|
||||
define(['forum/pagination', 'forum/infinitescroll', 'forum/topic/threadTools', 'forum/topic/postTools', 'forum/topic/events', 'navigator'], function(pagination, infinitescroll, threadTools, postTools, events, navigator) {
|
||||
define('forum/topic', ['forum/pagination', 'forum/infinitescroll', 'forum/topic/threadTools', 'forum/topic/postTools', 'forum/topic/events', 'navigator'], function(pagination, infinitescroll, threadTools, postTools, events, navigator) {
|
||||
var Topic = {},
|
||||
scrollingToPost = false,
|
||||
currentUrl = '';
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
/* globals define, app, translator, config, socket, ajaxify */
|
||||
|
||||
define(function() {
|
||||
define('forum/topic/browsing', function() {
|
||||
|
||||
var Browsing = {};
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/* globals app, ajaxify, define, socket */
|
||||
|
||||
define(['forum/topic/browsing', 'forum/topic/postTools', 'forum/topic/threadTools'], function(browsing, postTools, threadTools) {
|
||||
define('forum/topic/events', ['forum/topic/browsing', 'forum/topic/postTools', 'forum/topic/threadTools'], function(browsing, postTools, threadTools) {
|
||||
|
||||
var Events = {};
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app, translator, socket */
|
||||
|
||||
define(function() {
|
||||
define('forum/topic/fork', function() {
|
||||
|
||||
var Fork = {},
|
||||
forkModal,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app, socket */
|
||||
|
||||
define(function() {
|
||||
define('forum/topic/move', function() {
|
||||
|
||||
var Move = {},
|
||||
modal,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app, translator, ajaxify, socket, bootbox */
|
||||
|
||||
define(['composer', 'share', 'navigator'], function(composer, share, navigator) {
|
||||
define('forum/topic/postTools', ['composer', 'share', 'navigator'], function(composer, share, navigator) {
|
||||
|
||||
var PostTools = {},
|
||||
topicName;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app, translator, ajaxify, socket, bootbox */
|
||||
|
||||
define(['forum/topic/fork', 'forum/topic/move'], function(fork, move) {
|
||||
define('forum/topic/threadTools', ['forum/topic/fork', 'forum/topic/move'], function(fork, move) {
|
||||
|
||||
var ThreadTools = {};
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, app, socket */
|
||||
|
||||
define(['forum/recent', 'topicSelect', 'forum/infinitescroll'], function(recent, topicSelect, infinitescroll) {
|
||||
define('forum/unread', ['forum/recent', 'topicSelect', 'forum/infinitescroll'], function(recent, topicSelect, infinitescroll) {
|
||||
var Unread = {};
|
||||
|
||||
$(window).on('action:ajaxify.start', function(ev, data) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function() {
|
||||
define('forum/users', function() {
|
||||
var Users = {};
|
||||
|
||||
Users.init = function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
/* globals define, translator, templates */
|
||||
|
||||
define(function() {
|
||||
define('alerts', function() {
|
||||
|
||||
var module = {};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/* globals app, config, define, socket, translator, templates, utils */
|
||||
|
||||
define(['taskbar', 'string', 'sounds'], function(taskbar, S, sounds) {
|
||||
define('chat', ['taskbar', 'string', 'sounds'], function(taskbar, S, sounds) {
|
||||
|
||||
var module = {};
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, socket, app, config, ajaxify, utils, translator, templates, bootbox */
|
||||
|
||||
define(['taskbar', 'composer/controls', 'composer/uploads', 'composer/formatting', 'composer/drafts', 'composer/tags'], function(taskbar, controls, uploads, formatting, drafts, tags) {
|
||||
define('composer', ['taskbar', 'composer/controls', 'composer/uploads', 'composer/formatting', 'composer/drafts', 'composer/tags'], function(taskbar, controls, uploads, formatting, drafts, tags) {
|
||||
var composer = {
|
||||
active: undefined,
|
||||
posts: {}
|
||||
|
||||
2
public/src/modules/composer/controls.js
vendored
2
public/src/modules/composer/controls.js
vendored
@@ -2,7 +2,7 @@
|
||||
|
||||
/*global define*/
|
||||
|
||||
define(function() {
|
||||
define('composer/controls', function() {
|
||||
var controls = {};
|
||||
|
||||
/*************************************************/
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define */
|
||||
|
||||
define(function() {
|
||||
define('composer/drafts', function() {
|
||||
|
||||
var drafts = {};
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define */
|
||||
|
||||
define(['composer/controls'], function(controls) {
|
||||
define('composer/formatting', ['composer/controls'], function(controls) {
|
||||
|
||||
var formatting = {};
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/*globals define*/
|
||||
|
||||
define(function() {
|
||||
define('composer/tags', function() {
|
||||
var tags = {};
|
||||
|
||||
tags.init = function(postContainer, postData) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define, utils, config, app */
|
||||
|
||||
define(function() {
|
||||
define('composer/uploads', function() {
|
||||
var uploads = {};
|
||||
|
||||
uploads.initialize = function(post_uuid) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* globals app, define, ajaxify */
|
||||
|
||||
|
||||
define(function() {
|
||||
define('navigator', function() {
|
||||
|
||||
var navigator = {};
|
||||
var index = 1;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/* globals define, socket, translator, utils, config, app, ajaxify, Tinycon*/
|
||||
|
||||
|
||||
define(['sounds'], function(sound) {
|
||||
define('notifications', ['sounds'], function(sound) {
|
||||
var Notifications = {};
|
||||
|
||||
Notifications.prepareDOM = function() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/*global define, app, socket*/
|
||||
|
||||
define(function () {
|
||||
define('settings', function () {
|
||||
|
||||
var DEFAULT_PLUGINS = [
|
||||
'settings/checkbox',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function () {
|
||||
define('settings/array', function () {
|
||||
|
||||
var Settings = null,
|
||||
SettingsArray,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function () {
|
||||
define('settings/checkbox', function () {
|
||||
|
||||
var Settings = null,
|
||||
SettingsCheckbox;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function () {
|
||||
define('settings/key', function () {
|
||||
|
||||
var Settings = null,
|
||||
SettingsKey,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function () {
|
||||
define('settings/number', function () {
|
||||
|
||||
return {
|
||||
types: ['number'],
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function () {
|
||||
define('settings/select', function () {
|
||||
|
||||
var Settings = null,
|
||||
SettingsSelect;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function () {
|
||||
define('settings/textarea', function () {
|
||||
|
||||
var Settings = null,
|
||||
SettingsArea;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define */
|
||||
|
||||
define(function() {
|
||||
define('share', function() {
|
||||
|
||||
var module = {};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
/* global define, socket, config */
|
||||
|
||||
define(['buzz'], function(buzz) {
|
||||
define('sounds', ['buzz'], function(buzz) {
|
||||
var Sounds = {};
|
||||
|
||||
var loadedSounds = {};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function() {
|
||||
define('taskbar', function() {
|
||||
var taskbar = {
|
||||
initialized: false,
|
||||
init: function() {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/* globals define*/
|
||||
|
||||
define(function() {
|
||||
define('topicSelect', function() {
|
||||
var TopicSelect = {};
|
||||
var lastSelected;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
define(function() {
|
||||
define('uploader', function() {
|
||||
|
||||
var module = {},
|
||||
maybeParse = function(response) {
|
||||
|
||||
34
src/meta.js
34
src/meta.js
@@ -250,9 +250,37 @@ var fs = require('fs'),
|
||||
'src/widgets.js',
|
||||
'src/translator.js',
|
||||
'src/helpers.js',
|
||||
'src/overrides.js'
|
||||
'src/overrides.js',
|
||||
],
|
||||
minFile: 'nodebb.min.js',
|
||||
loadRJS: function(callback) {
|
||||
//return callback();
|
||||
|
||||
var rjsPath = path.join(__dirname, '..', '/public/src');
|
||||
|
||||
async.parallel({
|
||||
forum: function(next) {
|
||||
utils.walk(path.join(rjsPath, 'forum'), next);
|
||||
},
|
||||
modules: function(next) {
|
||||
utils.walk(path.join(rjsPath, 'modules'), next);
|
||||
}
|
||||
}, function(err, rjsFiles) {
|
||||
rjsFiles = rjsFiles.forum.concat(rjsFiles.modules);
|
||||
|
||||
rjsFiles = rjsFiles.map(function(file) {
|
||||
return path.join('src', file.replace(rjsPath, ''));
|
||||
});
|
||||
|
||||
Meta.js.scripts = Meta.js.scripts.concat(rjsFiles);
|
||||
|
||||
// todo: not sure how to convert string.js
|
||||
Meta.js.scripts.splice(Meta.js.scripts.indexOf(path.join('src/modules/string.js'), 1));
|
||||
|
||||
console.log(Meta.js.scripts);
|
||||
callback(err);
|
||||
});
|
||||
},
|
||||
prepare: function (callback) {
|
||||
plugins.fireHook('filter:scripts.get', this.scripts, function(err, scripts) {
|
||||
var ctime,
|
||||
@@ -310,12 +338,14 @@ var fs = require('fs'),
|
||||
}
|
||||
});
|
||||
|
||||
this.prepare(function() {
|
||||
Meta.js.loadRJS(function() {
|
||||
Meta.js.prepare(function() {
|
||||
minifier.send({
|
||||
action: minify ? 'js.minify' : 'js.concatenate',
|
||||
scripts: Meta.js.scripts
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
killMinifier: function(callback) {
|
||||
if (this.minifierProc) {
|
||||
|
||||
Reference in New Issue
Block a user