Skip to content

Commit

Permalink
leverage delite 0.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolif committed Oct 17, 2014
1 parent 2ba6a5a commit 4931223
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions app/templates/_Element.js.hardcoded
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
},
Expand Down
2 changes: 1 addition & 1 deletion app/templates/_Sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions app/templates/_bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"<% } %>
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 4931223

Please sign in to comment.