Make Class mixin tests a little more robust.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2853 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -31,6 +31,7 @@
|
|||||||
var initA = 0;
|
var initA = 0;
|
||||||
A.prototype = {
|
A.prototype = {
|
||||||
count: 0,
|
count: 0,
|
||||||
|
mixed: false,
|
||||||
initialize: function () {
|
initialize: function () {
|
||||||
initA++;
|
initA++;
|
||||||
this.count++;
|
this.count++;
|
||||||
@@ -95,7 +96,7 @@
|
|||||||
t.ok( true, "IE sucks" );
|
t.ok( true, "IE sucks" );
|
||||||
t.ok( true, "IE sucks" );
|
t.ok( true, "IE sucks" );
|
||||||
}
|
}
|
||||||
t.eq( objC.mixed, true, "class C mixes has mixin properties" );
|
t.eq( objC.mixed, true, "class C has mixin properties" );
|
||||||
}
|
}
|
||||||
|
|
||||||
// -->
|
// -->
|
||||||
|
|||||||
Reference in New Issue
Block a user