Remove ol namespace

This commit is contained in:
Tom Payne
2012-09-24 14:07:11 +02:00
parent 6e427a49ab
commit 6737220b83
8 changed files with 6 additions and 273 deletions

View File

@@ -1,19 +0,0 @@
goog.require('goog.testing.jsunit');
goog.require('ol');
goog.require('ol3.Object');
function testObject1() {
var obj = {k: 1};
obj = ol.object(obj);
assertTrue(obj instanceof ol3.Object);
assertEquals(1, obj.get('k'));
}
function testObject2() {
var obj1 = new ol3.Object();
var obj2 = ol.object(obj1);
assertTrue(obj2 === obj1);
}