remove jsx and react transformers
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
/** @jsx CUSTOM_DOM */
|
||||
|
||||
<a></a>
|
||||
@@ -1,2 +0,0 @@
|
||||
"use strict";
|
||||
CUSTOM_DOM.a(null);
|
||||
1
test/fixtures/syntax/jsx/empty/actual.js
vendored
1
test/fixtures/syntax/jsx/empty/actual.js
vendored
@@ -1 +0,0 @@
|
||||
<x>{}</x>
|
||||
2
test/fixtures/syntax/jsx/empty/expected.js
vendored
2
test/fixtures/syntax/jsx/empty/expected.js
vendored
@@ -1,2 +0,0 @@
|
||||
"use strict";
|
||||
x(null, null);
|
||||
@@ -1,2 +0,0 @@
|
||||
<X data-prop={x ? <Y prop={2} /> : <Z>
|
||||
</Z>}></X>
|
||||
@@ -1,7 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
X({
|
||||
"data-prop": (x ? Y({
|
||||
prop: 2
|
||||
}) : Z(null, "\n"))
|
||||
});
|
||||
@@ -1,5 +0,0 @@
|
||||
(<X>{a}</X>);
|
||||
|
||||
(<X>{a} {b}</X>);
|
||||
|
||||
(<X prop={a} yes></X>);
|
||||
@@ -1,8 +0,0 @@
|
||||
"use strict";
|
||||
X(null, a);
|
||||
X(null, [a, " ", b]);
|
||||
|
||||
X({
|
||||
prop: a,
|
||||
yes: true
|
||||
});
|
||||
@@ -1 +0,0 @@
|
||||
<a></a>
|
||||
@@ -1,2 +0,0 @@
|
||||
"use strict";
|
||||
React.DOM.a(null);
|
||||
@@ -1 +0,0 @@
|
||||
<Test.X></Test.X>
|
||||
@@ -1,2 +0,0 @@
|
||||
"use strict";
|
||||
Test.X(null);
|
||||
@@ -1 +0,0 @@
|
||||
<Test:X></Test:X>
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"throws": "Namespace tags are not supported. ReactJSX is not XML."
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
(<X />);
|
||||
|
||||
(<X prop="1" />);
|
||||
@@ -1,6 +0,0 @@
|
||||
"use strict";
|
||||
X(null);
|
||||
|
||||
X({
|
||||
prop: "1"
|
||||
});
|
||||
@@ -1 +0,0 @@
|
||||
<X></X>
|
||||
@@ -1,2 +0,0 @@
|
||||
"use strict";
|
||||
X(null);
|
||||
@@ -1,3 +0,0 @@
|
||||
(<X prop="2"><Y /></X>);
|
||||
|
||||
(<X prop="2"><Y /><Z /></X>);
|
||||
@@ -1,9 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
X({
|
||||
prop: "2"
|
||||
}, Y(null));
|
||||
|
||||
X({
|
||||
prop: "2"
|
||||
}, [Y(null), Z(null)]);
|
||||
@@ -1,13 +0,0 @@
|
||||
(<X> </X>);
|
||||
|
||||
(<X>
|
||||
</X>);
|
||||
|
||||
(<X>
|
||||
string
|
||||
</X>);
|
||||
|
||||
(<X>
|
||||
string
|
||||
string
|
||||
</X>);
|
||||
@@ -1,5 +0,0 @@
|
||||
"use strict";
|
||||
X(null, " ");
|
||||
X(null, "\n");
|
||||
X(null, "\n string\n");
|
||||
X(null, "\n string\n string\n ");
|
||||
@@ -1,6 +0,0 @@
|
||||
var Component;
|
||||
Component = React.createClass({
|
||||
render: function() {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
@@ -1,10 +0,0 @@
|
||||
"use strict";
|
||||
var Component;
|
||||
|
||||
Component = React.createClass({
|
||||
displayName: "Component",
|
||||
|
||||
render: function() {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
@@ -1,6 +0,0 @@
|
||||
var Whateva = React.createClass({
|
||||
displayName: "Whatever",
|
||||
render: function() {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
@@ -1,9 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
var Whateva = React.createClass({
|
||||
displayName: "Whatever",
|
||||
|
||||
render: function() {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
@@ -1,7 +0,0 @@
|
||||
exports = {
|
||||
Component: React.createClass({
|
||||
render: function() {
|
||||
return null;
|
||||
}
|
||||
})
|
||||
};
|
||||
@@ -1,11 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
exports = {
|
||||
Component: React.createClass({
|
||||
displayName: "Component",
|
||||
|
||||
render: function() {
|
||||
return null;
|
||||
}
|
||||
})
|
||||
};
|
||||
@@ -1,5 +0,0 @@
|
||||
exports.Component = React.createClass({
|
||||
render: function() {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
@@ -1,9 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
exports.Component = React.createClass({
|
||||
displayName: "Component",
|
||||
|
||||
render: function() {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
@@ -1,5 +0,0 @@
|
||||
var Component = React.createClass({
|
||||
render: function() {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
@@ -1,9 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
var Component = React.createClass({
|
||||
displayName: "Component",
|
||||
|
||||
render: function() {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user