将旧模块改写为 AMD 模块

This commit is contained in:
virusdefender
2015-09-14 01:06:31 +08:00
parent 9ad52b5c5f
commit 1d087089ed
7 changed files with 581 additions and 2370 deletions

View File

@@ -1,4 +1,4 @@
define("admin", ["jquery", "avalon"], function ($, avalon) {
require(["jquery", "avalon", "bootstrap"], function ($, avalon) {
avalon.ready(function () {