From cd3e690e57870d0206efefdaa9ff5d8443a880d0 Mon Sep 17 00:00:00 2001 From: ido Date: Wed, 31 Dec 2014 17:27:59 +0200 Subject: [PATCH 1/3] fix travis branch --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c10291b..24972f7 100644 --- a/README.md +++ b/README.md @@ -330,7 +330,7 @@ Copyright (c) 2014 Wix. Licensed under the MIT license. [npm-image]: https://img.shields.io/npm/v/react-templates.svg?style=flat-square [npm-url]: https://npmjs.org/package/react-templates -[travis-image]: https://img.shields.io/travis/wix/react-templates/master.svg?style=flat-square +[travis-image]: https://img.shields.io/travis/wix/react-templates/gh-pages.svg?style=flat-square [travis-url]: https://travis-ci.org/wix/react-templates [coveralls-image]: https://img.shields.io/coveralls/wix/react-templates/master.svg?style=flat-square [coveralls-url]: https://coveralls.io/r/wix/react-templates?branch=master From ca42fbff6f5a88dc545b75860f901b05d1f27983 Mon Sep 17 00:00:00 2001 From: ido Date: Wed, 31 Dec 2014 17:29:21 +0200 Subject: [PATCH 2/3] fix docs --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 24972f7..c2625fc 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Light weight templates for [React](http://facebook.github.io/react/index.html). * Very good separation of presentation and logic. Almost no HTML within the component file * Declarative coding for presentation. HTML that you write and inspect look similar * Easy syntax. Similar to HTML. All IDEs recognize this format +* Supports AMD, CommonJS and globals ## How does it work React templates compiles a *.rt file (react template file - extended HTML format) into a JavaScript file. This file - which currently utilizes RequireJS format - returns a function. This function, when invoked, returns a virtual React DOM (based on React.DOM elements and custom user components). A common use case would be that a regular React component would require a JavaScript file generated from a template, and then perform `func.apply(this)`, causing the template to have that component as its context. From 2f3a91d8da5732559d5d8565d72e043857c21515 Mon Sep 17 00:00:00 2001 From: ido Date: Wed, 31 Dec 2014 18:31:57 +0200 Subject: [PATCH 3/3] default task runs eslint:all only --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 07d6f0e..0b6661d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -101,7 +101,7 @@ module.exports = function (grunt) { grunt.loadNpmTasks('grunt-node-tap'); grunt.loadNpmTasks('grunt-contrib-uglify'); - grunt.registerTask('default', ['eslint']); + grunt.registerTask('default', ['eslint:all']); grunt.registerTask('test', ['node_tap']); grunt.registerTask('teamcity', ['eslint:teamcity']);