mirror of https://github.com/freeCodeCamp/devdocs
parent
5716bd5468
commit
90a59030b8
@ -1,12 +0,0 @@
|
||||
#= 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