Skip to content

Commit f6c1106

Browse files
committed
Expose {auth,identity,notification} modules on annotator
These are public API library components and should be accessible to developers in the browser.
1 parent 5ada0a7 commit f6c1106

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGES.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ project endeavours to adhere to `Semantic Versioning`_.
99
Unreleased
1010
----------
1111

12+
- ADDED: The ``authz``, ``identity``, and ``notification`` modules are now
13+
exposed as public API on the ``annotator`` page global.
14+
1215
2.0.0-alpha.2 - 2015-04-24
1316
--------------------------
1417

browser.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ var css = require('./css/annotator.css');
66
insertCss(css);
77

88
var app = require('./src/app');
9-
var storage = require('./src/storage');
10-
var ui = require('./src/ui');
119
var util = require('./src/util');
1210

1311
// Core annotator components
1412
exports.App = app.App;
1513

1614
// Access to libraries (for browser installations)
17-
exports.storage = storage;
18-
exports.ui = ui;
15+
exports.authz = require('./src/authz');
16+
exports.identity = require('./src/identity');
17+
exports.notification = require('./src/notification');
18+
exports.storage = require('./src/storage');
19+
exports.ui = require('./src/ui');
1920
exports.util = util;
2021

2122
// Ext namespace (for core-provided extension modules)

0 commit comments

Comments
 (0)