update packaged ace
This commit is contained in:
parent
5cc67ba146
commit
a5eb376e4c
133 changed files with 13027 additions and 3335 deletions
13
build/pilot/console.js
Normal file
13
build/pilot/console.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
define(function(b, c) {
|
||||
var d = function() {
|
||||
};
|
||||
b = ["assert", "count", "debug", "dir", "dirxml", "error", "group", "groupEnd", "info", "log", "profile", "profileEnd", "time", "timeEnd", "trace", "warn"];
|
||||
typeof window === "undefined" ? b.forEach(function(a) {
|
||||
c[a] = function() {
|
||||
var e = Array.prototype.slice.call(arguments);
|
||||
postMessage(JSON.stringify({op:"log", method:a, args:e}))
|
||||
}
|
||||
}) : b.forEach(function(a) {
|
||||
c[a] = window.console && window.console[a] ? Function.prototype.bind.call(window.console[a], window.console) : d
|
||||
})
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue