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:
Oscar López 2014-08-13 18:13:35 -03:00
parent aa4c94372a
commit 773317c8f9

View File

@ -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