📄 test.js
字号:
function Test() {}Test.prototype = new Decorator();Test.prototype.before = function () {try {var e = this.getContainer();e.appendChild(document.createTextNode("before:" + this.id));e.insertBefore(document.createTextNode("before:" + this.id), e.firstChild);}catch (ex) {alert(ex.message);}};Test.prototype.decorate = function () {var e = this.getContainer();try {e.appendChild(document.createTextNode("after:" + this.id));}catch (ex) {alert(ex);}};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -