Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.coffee ------------------------------------------------------------
- {RemoteLayer} = require "RemoteLayer"
- myRemote = new RemoteLayer
- myRemote.functionVariable = () -> print "super clicked"
- module ---------------------------------------------------------------
- class exports.RemoteLayer extends Layer
- constructor: (@options={}) ->
- @functionVariable = () -> print "click"
- playPauseButton.onClick ->
- print "was clicked"
- @functionVariable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement