Showing the changes to assets/javascripts (2 of 2 files). Show all
Unified · Split
| @@ -51,6 +51,7 @@ · 50 unmodified lines | |||
| 51 | else | 51 | else |
| 52 | if @config.sentry_dsn | 52 | if @config.sentry_dsn |
| 53 | Raven.config @config.sentry_dsn, | 53 | Raven.config @config.sentry_dsn, |
| 54 | release: @config.release | ||
| 54 | whitelistUrls: [/devdocs/] | 55 | whitelistUrls: [/devdocs/] |
| 55 | includePaths: [/devdocs/] | 56 | includePaths: [/devdocs/] |
| 56 | ignoreErrors: [/NPObject/, /NS_ERROR/, /^null$/] | 57 | ignoreErrors: [/NPObject/, /NS_ERROR/, /^null$/] |
| @@ -68,6 +69,7 @@ · 11 unmodified lines | |||
| 68 | dataCallback: (data) -> | 69 | dataCallback: (data) -> |
| 69 | try | 70 | try |
| 70 | $.extend(data.user ||= {}, app.settings.dump()) | 71 | $.extend(data.user ||= {}, app.settings.dump()) |
| 72 | data.user.docs = data.user.docs.split('/') if data.user.docs | ||
| 71 | data.user.lastIDBTransaction = app.lastIDBTransaction if app.lastIDBTransaction | 73 | data.user.lastIDBTransaction = app.lastIDBTransaction if app.lastIDBTransaction |
| 72 | data | 74 | data |
| 73 | .install() | 75 | .install() |
| @@ -11,3 +11,4 @@ app.config = · 10 unmodified lines | |||
| 11 | search_param: 'q' | 11 | search_param: 'q' |
| 12 | sentry_dsn: '<%= App.sentry_dsn %>' | 12 | sentry_dsn: '<%= App.sentry_dsn %>' |
| 13 | version: <%= Time.now.to_i %> | 13 | version: <%= Time.now.to_i %> |
| 14 | release: <%= Time.now.utc.httpdate.to_json %> | ||