1
0
Fork 0

Manual corrections for class examples; overrides must be virtual

Artifact from pre-virtual days.
perfodd
Mike Gerwitz 2013-12-25 02:04:30 -05:00
parent 5ac511ab8b
commit 5511ef78b5
1 changed files with 4 additions and 4 deletions

View File

@ -695,7 +695,7 @@ inherited from the parent.
/**
* Bark when we're poked
*/
'public poke': function()
'virtual public poke': function()
{
this.bark();
}
@ -925,14 +925,14 @@ Let's take a look at an example.
@verbatim
var Foo = Class(
{
'protected canEscalate': 'baz',
'virtual protected canEscalate': 'baz',
'protected escalateMe': function( arg )
'virtual protected escalateMe': function( arg )
{
console.log( 'In escalateMe' );
},
'public cannotMakeProtected': function()
'virtual public cannotMakeProtected': function()
{
}
} ),