Remove app.js and enable the Layout module by default
This commit is contained in:
@@ -9,8 +9,7 @@ module.exports = function (grunt) {
|
||||
},
|
||||
target : {
|
||||
files: {
|
||||
'dist/js/adminlte.min.js': ['dist/js/adminlte.js'],
|
||||
'dist/js/app.min.js' : ['dist/js/app.js']
|
||||
'dist/js/adminlte.min.js': ['dist/js/adminlte.js']
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -12,7 +12,7 @@ module.exports = function (grunt) {
|
||||
tasks: ['concat', 'babel', 'uglify', 'notify:watch']
|
||||
},
|
||||
js : {
|
||||
files: ['dist/js/adminlte.js', 'dist/js/app.js'],
|
||||
files: ['dist/js/adminlte.js'],
|
||||
tasks: ['uglify', 'notify:watch']
|
||||
}
|
||||
};
|
||||
|
||||
10
build/js/dist/Layout.js
vendored
10
build/js/dist/Layout.js
vendored
@@ -129,6 +129,16 @@ var Layout = function ($) {
|
||||
return Layout;
|
||||
}();
|
||||
|
||||
/**
|
||||
* Data API
|
||||
* ====================================================
|
||||
*/
|
||||
|
||||
|
||||
$(window).on('load', function () {
|
||||
Layout._jQueryInterface.call($('body'));
|
||||
});
|
||||
|
||||
/**
|
||||
* jQuery API
|
||||
* ====================================================
|
||||
|
||||
2
build/js/dist/Layout.js.map
vendored
2
build/js/dist/Layout.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -115,6 +115,14 @@ const Layout = (($) => {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Data API
|
||||
* ====================================================
|
||||
*/
|
||||
$(window).on('load', () => {
|
||||
Layout._jQueryInterface.call($('body'))
|
||||
});
|
||||
|
||||
/**
|
||||
* jQuery API
|
||||
* ====================================================
|
||||
|
||||
@@ -116,6 +116,14 @@ const Layout = (($) => {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Data API
|
||||
* ====================================================
|
||||
*/
|
||||
$(window).on('load', () => {
|
||||
Layout._jQueryInterface.call($('body'))
|
||||
});
|
||||
|
||||
/**
|
||||
* jQuery API
|
||||
* ====================================================
|
||||
|
||||
Reference in New Issue
Block a user