0
任何想法爲什麼這會在編譯時引發錯誤?CoffeeScript縮進錯誤
(window) ->
# pubsub
App.publish = (topic,args) ->
App.subscriptions[topic] and $.each(App.subscriptions[topic], ->
this.apply(App, args or [])
http://jsfiddle.net/wesbos/4Kf2B/