L.Class usage example Said L.Class where it should've said MyClass
Usage example for L.Class options mechanism should refer to MyChildClass inheriting from MyClass instead of MyChildClass inheriting from L.Class directly.
This commit is contained in:
parent
aa4c94372a
commit
773317c8f9
@ -5069,7 +5069,7 @@ a.greet('Jason'); // alerts "Yo, bro Jason!"</code></pre>
|
||||
}
|
||||
});
|
||||
|
||||
var MyChildClass = L.Class.extend({
|
||||
var MyChildClass = MyClass.extend({
|
||||
options: {
|
||||
myOption1: 'baz',
|
||||
myOption3: 5
|
||||
|
Loading…
Reference in New Issue
Block a user