Skip to content

Commit 0904478

Browse files
committed
Make singleton.js the entry point via npm
1 parent f045be9 commit 0904478

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"type": "git",
1212
"url": "git://github.com/getsentry/raven-js.git"
1313
},
14-
"main": "dist/raven.js",
14+
"main": "src/singleton.js",
1515
"devDependencies": {
1616
"chai": "~1.8.1",
1717
"grunt": "^0.4.5",

src/singleton.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* Enforces a single instance of the Raven client, and the
3+
* main entry point for Raven. If you are a consumer of the
4+
* Raven library, you SHOULD load this file (vs raven.js).
5+
**/
6+
17
'use strict';
28

39
var RavenConstructor = require('./raven');

0 commit comments

Comments
 (0)