Transformed

This commit is contained in:
Tim Schaub
2017-12-11 16:29:33 -07:00
parent 1cdb6a66f0
commit 7f47883c48
737 changed files with 22216 additions and 21609 deletions

View File

@@ -1,5 +1,5 @@
goog.require('ol.array');
goog.require('ol.has');
import _ol_array_ from '../src/ol/array.js';
import _ol_has_ from '../src/ol/has.js';
// avoid importing anything that results in an instanceof check
// since these extensions are global, instanceof checks fail with modules
@@ -317,7 +317,7 @@ goog.require('ol.has');
*/
expect.Assertion.prototype.arreql = function(obj) {
this.assert(
ol.array.equals(this.obj, obj),
_ol_array_.equals(this.obj, obj),
function() {
return 'expected ' + expect.stringify(this.obj) +
' to sort of equal ' + expect.stringify(obj);
@@ -377,7 +377,7 @@ goog.require('ol.has');
};
global.assertWebGL = function(map) {
if (!ol.has.WEBGL) {
if (!_ol_has_.WEBGL) {
expect().fail('No WebGL support!');
}
};