8000 1.1.10 · zaizhuang/raven-js@1413b98 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1413b98

Browse files
committed
1.1.10
1 parent e96d774 commit 1413b98

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raven-js",
3-
"version": "1.1.9",
3+
"version": "1.1.10",
44
"dependencies": {},
55
"main": "dist/raven.js"
66
}

dist/raven.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 1.1.9 (e221499) | github.com/getsentry/raven-js */
1+
/*! Raven.js 1.1.10 (e96d774) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -1120,7 +1120,7 @@ var _Raven = window.Raven,
11201120
* @this {Raven}
11211121
*/
11221122
var Raven = {
1123-
VERSION: '1.1.9',
1123+
VERSION: '1.1.10',
11241124

11251125
// Expose TraceKit to the Raven namespace
11261126
TraceKit: TraceKit,
@@ -1157,6 +1157,8 @@ var Raven = {
11571157
* @return {Raven}
11581158
*/
11591159
config: function(dsn, options) {
1160+
if (!dsn) return Raven;
1161+
11601162
var uri = parseDSN(dsn),
11611163
lastSlash = uri.path.lastIndexOf('/'),
11621164
path = uri.path.substr(1, lastSlash);
@@ -1180,7 +1182,7 @@ var Raven = {
11801182
globalOptions.includ 7B25 ePaths = joinRegExp(globalOptions.includePaths);
11811183

11821184
globalKey = uri.user;
1183-
globalProject = ~~uri.path.substr(lastSlash + 1);
1185+
globalProject = uri.path.substr(lastSlash + 1);
11841186

11851187
// assemble the endpoint from the uri pieces
11861188
globalServer = '//' + uri.host +

dist/raven.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0