BorisMoore/jsrender — Issue #61: my javascript enviroment does not have window nor Array.isArray.
Author: cesarcb
Created: 2012-01-17 14:08:49+00:00
State: open

to fix it I changed in source:

from :
window.JsViews || window.jQuery && window.views || (function (window, undefined)
to :
this.JsViews || this.jQuery && this.views || (function (window, undefined)

also i delete
document = window.document

and also i change
isArray: Array.isArray || function (obj)
to
isArray: function (obj)