Replaced GOF footnote with bibtex citation
parent
10095422dc
commit
688634a883
|
@ -21,6 +21,13 @@
|
|||
howpublished = {\url{http://jsperf.com/coope-function-wrapper-w-blogic}},
|
||||
}
|
||||
|
||||
@book{gof,
|
||||
author = {Erich Gamma and Richard Helm and Ralph Johnson and John Vlissides},
|
||||
title = {Design Patterns: Elements of Reusable Object-Oriented Software},
|
||||
publisher = {Addison-Wesley},
|
||||
year = {1994}
|
||||
}
|
||||
|
||||
@book{oreilly-hpj,
|
||||
author = {Nicholas C. Zakas},
|
||||
title = {High Performance JavaScript},
|
||||
|
|
|
@ -15,7 +15,7 @@ var obj = { foo: "bar" };
|
|||
\end{verbatim}
|
||||
|
||||
In a classical sense, object literals can be thought of as anonymous
|
||||
singletons;\footnote{GOF.} that is, they have no name (they are identified by
|
||||
singletons; \cite{gof} that is, they have no name (they are identified by
|
||||
the variable to which they are assigned) and only one instance of the literal
|
||||
will exist throughout the life of the software.\footnote{Technically, one could
|
||||
set the prototype of a constructor to be the object defined by the literal (see
|
||||
|
|
Loading…
Reference in New Issue