1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00

add support for react 0.12.2

This commit is contained in:
ido 2014-12-31 09:55:06 +02:00
parent 8ef5be16bf
commit 5d906b3d6a
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ var ver0_10_0 = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b
var versions = { var versions = {
'0.12.2': ver0_12_0,
'0.12.1': ver0_12_0, '0.12.1': ver0_12_0,
'0.12.0': ver0_12_0, '0.12.0': ver0_12_0,
'0.11.2': ver0_11_2, '0.11.2': ver0_11_2,

View File

@ -31,7 +31,7 @@ var classSetProp = 'rt-class';
var scopeProp = 'rt-scope'; var scopeProp = 'rt-scope';
var propsProp = 'rt-props'; var propsProp = 'rt-props';
var defaultOptions = {modules: 'amd', version: false, force: false, format: 'stylish', targetVersion: '0.12.1'}; var defaultOptions = {modules: 'amd', version: false, force: false, format: 'stylish', targetVersion: '0.12.2'};
function shouldUseCreateElement(context) { function shouldUseCreateElement(context) {
switch (context.options.targetVersion) { switch (context.options.targetVersion) {