Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/aspect_behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @param {String} methodName 被插队的方法名
* @param {Function} callback 插入的方法
* */
before: function before(methodName, callback) {
_before: function before(methodName, callback) {
weaver.call(this, 'before', methodName, callback);
return this;
},
Expand All @@ -18,7 +18,7 @@
* @param {String} methodName 被插队的方法名
* @param {Function} callback 插入的方法
* */
after: function after(methodName, callback) {
_after: function after(methodName, callback) {
weaver.call(this, 'after', methodName, callback);
return this;
}
Expand Down Expand Up @@ -57,4 +57,4 @@
}

Nova.AspectBehavior = AspectBehavior;
})();
})();