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:
parent
8ef5be16bf
commit
5d906b3d6a
@ -9,6 +9,7 @@ var ver0_10_0 = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b
|
||||
|
||||
|
||||
var versions = {
|
||||
'0.12.2': ver0_12_0,
|
||||
'0.12.1': ver0_12_0,
|
||||
'0.12.0': ver0_12_0,
|
||||
'0.11.2': ver0_11_2,
|
||||
|
@ -31,7 +31,7 @@ var classSetProp = 'rt-class';
|
||||
var scopeProp = 'rt-scope';
|
||||
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) {
|
||||
switch (context.options.targetVersion) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user