Add site-wide search function

This commit is contained in:
Andrew Miner
2015-04-05 18:33:51 -07:00
parent b79fa5a148
commit 136ebb4187
19 changed files with 521 additions and 53 deletions
+7 -2
View File
@@ -36,6 +36,7 @@ Duration.slow = 1200
exports.Event = Event = {}
Event.add = 'add' # collection, item...
Event.change = 'change' # model
Event.click = 'click' # event
Event.load = {}
Event.load.started = 'load:started' # controller, url
Event.load.succeeded = 'load:succeeded' # controller, book
@@ -60,8 +61,12 @@ Event.transitionEnd = (->
return eventName if el.style[styleName]?
)()
exports.Key = Key = {}
Key.Return = 13
exports.Key = Key = {}
Key.Enter = 13
Key.Return = 13
Key.Escape = 27
Key.UpArrow = 38
Key.DownArrow = 40
exports.Login = Login = {}
Login.authorizeUrl = _.template "https://github.com/login/oauth/authorize" +