mirror of https://github.com/freeCodeCamp/devdocs
parent
240700dfb4
commit
b0071e2e64
@ -0,0 +1,12 @@
|
||||
#= require views/misc/notif
|
||||
|
||||
class app.views.Share extends app.views.Notif
|
||||
@defautOptions:
|
||||
autoHide: null
|
||||
|
||||
init: ->
|
||||
@type = 'Share'
|
||||
@count = app.store.get('count') or 0
|
||||
app.store.set 'count', ++@count
|
||||
@show() if @count is 5
|
||||
return
|
Loading…
Reference in new issue