ES5 space-before-function-parens
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
define([
|
||||
'newsletter_editor/App',
|
||||
'backbone.supermodel'
|
||||
], function(App, SuperModel) {
|
||||
], function (App, SuperModel) {
|
||||
|
||||
var Module = {};
|
||||
|
||||
@ -18,13 +18,13 @@ define([
|
||||
|
||||
// Global and available styles for access in blocks and their settings
|
||||
Module._config = {};
|
||||
Module.getConfig = function() { return Module._config; };
|
||||
Module.setConfig = function(options) {
|
||||
Module.getConfig = function () { return Module._config; };
|
||||
Module.setConfig = function (options) {
|
||||
Module._config = new Module.ConfigModel(options, { parse: true });
|
||||
return Module._config;
|
||||
};
|
||||
|
||||
App.on('before:start', function(App, options) {
|
||||
App.on('before:start', function (App, options) {
|
||||
var Application = App;
|
||||
// Expose config methods globally
|
||||
Application.getConfig = Module.getConfig;
|
||||
|
Reference in New Issue
Block a user