Skip to content

Commit

Permalink
Fixed umd template && log message
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Nov 15, 2020
1 parent f4abaf4 commit 2dce2cb
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions dist/exceptionless.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/exceptionless.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/exceptionless.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/exceptionless.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/exceptionless.node.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/exceptionless.node.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/exceptionless.universal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/exceptionless.universal.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/exceptionless.universal.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/exceptionless.universal.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/ExceptionlessClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export class ExceptionlessClient {

const interval = this.config.updateSettingsWhenIdleInterval;
if (interval > 0) {
this.config.log.info(`Update settings every ${interval}ms (${initialDelay}ms delay)`);
this.config.log.info(`Update settings every ${interval}ms (${initialDelay || 0}ms delay)`);
const updateSettings = () => SettingsManager.updateSettings(this.config);
if (initialDelay > 0) {
this._timeoutId = setTimeout(updateSettings, initialDelay);
Expand Down
2 changes: 1 addition & 1 deletion umd.template.jst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var globalDeps = deps ? stdDeps.concat(_.map(deps, function(dep) { return 'root.
} else {
root.<%= namespace %> = factory(<%= globalDeps.join(', ') %>);
}
}(this, function(<%= depNames.join(', ') %>) {
}(typeof window !== 'undefined' ? window : global, function(<%= depNames.join(', ') %>) {
if (!exports) { var exports = {}; }
<% if (exports) { %>
<%= contents %>
Expand Down

0 comments on commit 2dce2cb

Please sign in to comment.