1
0
Fork 0

[#5] Added mention to Interfaces section in manual that Interface must be imported

closure/master
Mike Gerwitz 2011-11-20 10:53:16 -05:00
parent a7258f99cb
commit 8655a6a58f
1 changed files with 3 additions and 0 deletions

View File

@ -1320,6 +1320,9 @@ Every member of @var{dfn} of @var{I} is implicitly
Interfaces may only extend other interfaces (@pxref{Inheritance}). Interfaces may only extend other interfaces (@pxref{Inheritance}).
@end itemize @end itemize
@code{Interface} must be imported (@pxref{Including}) from
@code{easejs.Interface}; it is not available in the global scope.
@subsubsection Implementing Interfaces @subsubsection Implementing Interfaces
@table @code @table @code
@item C = Class( @var{name} ).implement( @var{I\_0}[, ...@var{I\_n}] ).extend( @var{dfn} ) @item C = Class( @var{name} ).implement( @var{I\_0}[, ...@var{I\_n}] ).extend( @var{dfn} )