Created
February 18, 2015 02:05
-
-
Save greenboxal/6e7abe8a25d9e7645d5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require './lib' | |
defmod \TraceBefore -> | |
def \hello -> | |
console.log 'hello' | |
$super! | |
defmod \TraceAfter -> | |
def \hello -> | |
console.log 'hello' | |
$super! | |
defclass \A -> | |
def \hello -> | |
console.log 'hello' | |
defget \lol -> | |
5 | |
defclass \A -> | |
@include TraceAfter | |
@prepend TraceBefore | |
def \hello -> | |
$super! | |
console.log 'hello' | |
defget \lol -> | |
$super! + 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment