1 goog.provide('nclosure.examples.animals.CatLike'); 2 3 goog.require('nclosure.examples.animals.IAnimal'); 4 5 6 7 /** 8 * @constructor 9 * @implements {nclosure.examples.animals.IAnimal} 10 */ 11 nclosure.examples.animals.CatLike = function() {}; 12 13 14 /** 15 * This is a default implementaion of talk for cat like animals, special cats 16 * may want to override this. 17 * 18 * @inheritDoc 19 */ 20 nclosure.examples.animals.CatLike.prototype.talk = function() { 21 console.log('MEEEAWWW'); 22 }; 23