代码搜索:INTERFACES

找到约 10,000 项符合「INTERFACES」的源代码

代码结果 10,000
www.eeworm.com/read/417019/11007093

js 16.03 - using interfaces with the command pattern.js

/* Command interface. */ var Command = new Interface('Command', ['execute']); /* Checking the interface of a command object. */ // Ensure that the execute operation is defined. If not, a descriptiv
www.eeworm.com/read/417019/11007107

js 2.02 - emulating interfaces with attribute checking.js

/* interface Composite { function add(child); function remove(child); function getChild(index); } interface FormItem { function save(); } */ var CompositeForm = function(id, method
www.eeworm.com/read/417019/11007119

js 2.03 - emulating interfaces with duck typing.js

// Interfaces. var Composite = new Interface('Composite', ['add', 'remove', 'getChild']); var FormItem = new Interface('FormItem', ['save']); // CompositeForm class var CompositeForm = function(id,