Rename _ol_AssertionError_ to AssertionError

This commit is contained in:
Frederic Junod
2017-12-16 08:25:23 +01:00
parent e3bf72f90e
commit 3f3e412d10
4 changed files with 12 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ import {VERSION, inherits} from './index.js';
* @implements {oli.AssertionError}
* @param {number} code Error code.
*/
var _ol_AssertionError_ = function(code) {
var AssertionError = function(code) {
var path = VERSION ? VERSION.split('-')[0] : 'latest';
@@ -36,6 +36,6 @@ var _ol_AssertionError_ = function(code) {
};
inherits(_ol_AssertionError_, Error);
inherits(AssertionError, Error);
export default _ol_AssertionError_;
export default AssertionError;