diff --git a/README.md b/README.md index 5875d24..46ad477 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # generator-delite-element [![Build Status](https://travis-ci.org/ibm-js/generator-delite-element.png?branch=master)](https://travis-ci.org/ibm-js/generator-delite-element) -[Yeoman](http://yeoman.io) generator for [delite](https://github.com/ibm-js/delite) elements. +[Yeoman](http://yeoman.io) generator for [delite](http://ibm-js.github.io/delite/) elements. ## Status -Latest release is 0.2.4 +Latest release is 0.3 ## Issues diff --git a/app/templates/_Element.js.hardcoded b/app/templates/_Element.js.hardcoded index 9106a8e..5e0fd5d 100644 --- a/app/templates/_Element.js.hardcoded +++ b/app/templates/_Element.js.hardcoded @@ -9,10 +9,10 @@ define([ baseClass: "<%= elementName %>", value: "", - buildRendering: function () { + render: function () { // build static part of the display var title = this.ownerDocument.createElement("span"); - title.innerText = <% if (i18n) { %>messages.title + ":"<% } else { %>"title:"<% } %>; + title.innerText = <% if (i18n) { %>messages.title +":"<% } else { %>"title:"<% } %>; this.appendChild(title); this.appendChild(this._h = this.ownerDocument.createElement("h1")); }, diff --git a/app/templates/_Sample.html b/app/templates/_Sample.html index 5a277cf..c3e02a7 100644 --- a/app/templates/_Sample.html +++ b/app/templates/_Sample.html @@ -9,7 +9,7 @@ } }); <% if (build) { %> - require(["delite-build/boot"], function() { + require(["delite-build/layer"], function() { <% } %> require(["delite/register", "<%= package %>/<%= widgetName %>"], function (register) { register.parse(); diff --git a/app/templates/_bower.json b/app/templates/_bower.json index edee4ff..9660c33 100644 --- a/app/templates/_bower.json +++ b/app/templates/_bower.json @@ -2,9 +2,9 @@ "name": "<%= package %>", "version": "0.0.1", "dependencies": { - "delite<% if (build) { %>-build<% } %>": "0.3.x", + "delite<% if (build) { %>-build<% } %>": "0.4.x", "requirejs": "2.1.x"<% if (!build) { %><% if (i18n) { %>, - "requirejs-dplugins": "0.2.x-dev"<% } %><% if (templated) { %>, + "requirejs-dplugins": "0.3.x"<% } %><% if (templated) { %>, "requirejs-text": "2.0.x"<% } %><% } %><% if (pointer) { %>, "dpointer<% if (build) { %>-build<% } %>": "0.3.x"<% } %> } diff --git a/package.json b/package.json index 81d66a9..716cae1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "generator-delite-element", - "version": "0.2.4", + "version": "0.3.0", "description": "A delite element generator for Yeoman", "keywords": [ "yeoman-generator"