Rename CookieStore to CookiesStore

pull/1036/head
Jasper van Merle 6 years ago
parent c01982ca9a
commit b23b81e693

@ -78,7 +78,7 @@
.install() .install()
@previousErrorHandler = onerror @previousErrorHandler = onerror
window.onerror = @onWindowError.bind(@) window.onerror = @onWindowError.bind(@)
CookieStore.onBlocked = @onCookieBlocked CookiesStore.onBlocked = @onCookieBlocked
return return
bootOne: -> bootOne: ->

@ -33,7 +33,8 @@ class app.Settings
analyticsConsent: false analyticsConsent: false
constructor: -> constructor: ->
@store = new CookieStore @store = new CookiesStore
console.log @store
@cache = {} @cache = {}
get: (key) -> get: (key) ->

@ -1,4 +1,8 @@
class @CookieStore class @CookiesStore
# Intentionally called CookiesStore instead of CookieStore
# Calling it CookieStore causes issues when the Experimental Web Platform features flag is enabled in Chrome
# Related issue: https://github.com/freeCodeCamp/devdocs/issues/932
INT = /^\d+$/ INT = /^\d+$/
@onBlocked: -> @onBlocked: ->
Loading…
Cancel
Save