git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Update docs
commitd046eecbaeb46bab4f39e55ce96f17567e39f287 authorPhil Freeman <paf31@cantab.net> dateFri 7 Mar 2014, 18:07 (13 years ago) parent6aa8fc6
1 file changed−5
docs/source/syntax.rst−5
docs/source/syntax.rst−5
@@ -215,8 +215,3 @@ For example, the following function increments the ``foo`` property on its argum
215215
216216 incr o = o { foo = o.foo + 1 }
217217
218−The generated Javascript assumes the existence of a method called ``Object.extend`` such that ``Object.extend(o, p)`` takes an object ``o`` and generates a shallow copy of ``o`` including the properties of ``p``. A simple JQuery implementation of this specification is::
219−
220− Object.prototype.extend = function(o, p) {
221− return $.extend({}, o, p);
222− };