-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jsviews seems incompatible with browserify #254
Comments
Do you know what is needed to make it compatible? |
I don't know exactly. But it looks jsviews is prepared for require.js modules but browserify is for node.js modules. It seems one should write a shim for jsviews to get it work with browserify. |
According to http://requirejs.org/ : I also found this text that seems very useful: |
OK. I plan to add support for bower, nodejs, AMD/require, Nuget, webjars, composer, typescript... for V1 - and I will try to make this (browserify) work too. |
Thanks a lot. |
np - but I'll reopen as a reminder to myself to do this on reaching V1.0. :) |
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See #304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See #306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See #254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - #304 ObserveAll on cyclic objects - #306 'data-xxxx' attribute using data-link - #307 #312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See #304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See #306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See #254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - #304 ObserveAll on cyclic objects - #306 'data-xxxx' attribute using data-link - #307 #312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See #304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See #306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See #254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - #304 ObserveAll on cyclic objects - #306 'data-xxxx' attribute using data-link - #307 #312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #263 #264 Caching of template on script elements. (Unit tests added)
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #263 #264 Caching of template on script elements. (Unit tests added)
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See #304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See #306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See #254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - #304 ObserveAll on cyclic objects - #306 'data-xxxx' attribute using data-link - #307 #312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #263 #264 Caching of template on script elements. (Unit tests added)
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #263 #264 Caching of template on script elements. (Unit tests added)
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #263 #264 Caching of template on script elements. (Unit tests added)
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See #304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See #306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See #254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - #304 ObserveAll on cyclic objects - #306 'data-xxxx' attribute using data-link - #307 #312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See #304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See #306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See #254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - #304 ObserveAll on cyclic objects - #306 'data-xxxx' attribute using data-link - #307 #312
BREAKING CHANGES AND IMPROVEMENTS - The global namespace when JsRender is loaded without jQuery is now window.jsrender. (Previously it was window.jsviews). So when using JsRender without jQuery, you can write: var $ = jsrender; - and use the $ var it in the same way you would use the global $ when JsRender is loaded with jQuery: e.g. $.templates(...) or $.views.helpers(...) etc. - AMD support has been improved and simplified. All AMD modules, including JsRender, with or without jQuery, now return the jQuery object (if loaded) or the analogous JsViews object. - Node.js support and integration has been improved - along with improved CommonJS support, and Browserify integration. The file system APIs now use the syntax tmpl="./file/path.html". The Node.js version of jsrender.js is available as a separate file (available at //jsviews.com/download/jsrender-node.js). The Node.js version of JsRender provides the complete set of JsRender APIs and features, together with integration with NodeJS view-engines such as Express and Hapi, APIs for loading templates from the file system, etc. The file system APIs now use the syntax tmpl="./file/path.html". It also includes a built-in Browserify transform (see "Browserify Support: below). (Note: JsRender and JsViews will soon be published to NPM). - The behavior when loading multiple instances of JsRender or JsViews files has been changed: When loading a new instance, the previous instance $.views, $.templates, etc. is no longer overwritten. So a component using JsRender or JsViews will not, when loaded, cause another already loaded component also using JsViews/JsRender to fail (except for collisions arising in the unlikely case where both happen to use the same template/converter/helper name). As part of this modified behavior, the noConflict support for JsRender had been removed. NEW FEATURES - observeAll() for cyclic objects is now supported for the vast majority of cases. See BorisMoore/jsviews#304 - Improved support for data-linking to data- attributes: <elem data-link="data-foo{:expr}" ...>. After data-linking, the value of the data-foo attribute will be expr.toString(), but $.data(element, "foo") and $(element).data("foo") will actually return the value of expr, even if of type object. See BorisMoore/jsviews#306 - Browserify Support: JsRender on Node.js provides a built-in Browserify transform - jsrender.tmplify, for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var $jsr = require('jsrender'); browserify(...) ... .transform($jsr.tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Initial work for deployment to Bower and NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#263 BorisMoore/jsrender#264 Caching of template on script elements. (Unit tests added) - BorisMoore/jsviews#304 ObserveAll on cyclic objects - BorisMoore/jsviews#306 'data-xxxx' attribute using data-link - BorisMoore/jsviews#307 BorisMoore/jsviews#312
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Added quick start documentation as README.md BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender will be published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Replaces commits 66 and 67. Updated documentation. See also https://github.com/BorisMoore/jsrender-node-starter. BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - This version of JsRender has been published on NPM. Install using: $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also https://github.com/BorisMoore/jsrender-node-starter, and http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for documentation/deployment to NPM. See BorisMoore/jsviews#254 #225 Bug Fixes: - #172
Updated documentation. See also https://github.com/BorisMoore/jsrender-node-starter. and https://github.com/BorisMoore/jsrender. BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - JsRender is now published on NPM. Install using $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also https://github.com/BorisMoore/jsrender-node-starter, and http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for deployment to NPM. See #254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#172
Updated documentation. See also https://github.com/BorisMoore/jsrender-node-starter. and https://github.com/BorisMoore/jsrender. BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - JsRender is now published on NPM. Install using $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also https://github.com/BorisMoore/jsrender-node-starter, and http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for deployment to NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#172
Updated documentation. See also https://github.com/BorisMoore/jsrender-node-starter. and https://github.com/BorisMoore/jsrender. BREAKING CHANGES - One very minor breaking change: the $.views.compile(...) alias for $.templates has been removed from jsrender.js, but is still available for Node.js (e.g. for Hapi templates integration) as $.compile(...). NEW FEATURES - JsRender is now published on NPM. Install using $ npm install jsrender - Browserify Support: JsRender on Node.js provides a built-in Browserify transform for including compiled JsRender templates from the server, as part of the client javascript bundle generated by Browserify. Usage example: var tmplify = require('jsrender/tmplify'); browserify(...) ... .transform(tmplify) ... See also https://github.com/BorisMoore/jsrender-node-starter, and http://www.jsviews.com/test/unit-tests-browserify.html - Continuing work for deployment to NPM. See BorisMoore/jsviews#254 BorisMoore/jsrender#225 Bug Fixes: - BorisMoore/jsrender#172
JsRender has now been published to NPM and Bower, and includes Browserify support with a transfrom jsrender/tmplify. See https://github.com/BorisMoore/jsrender-node-starter Moving to #174 for tracking publishing of JsRender and JsViews to webjars, composer, typescript... - and registering in jQuery plugins registry also... |
How can jsviews get compatible with browserify?
The text was updated successfully, but these errors were encountered: