mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
@@ -23,6 +23,9 @@
|
||||
Learn more about React at
|
||||
<a href="http://facebook.github.io/react" target="_blank">facebook.github.io/react</a>.
|
||||
</p>
|
||||
<script src="../shared/thirdparty/es5-shim.min.js"></script>
|
||||
<script src="../shared/thirdparty/es5-sham.min.js"></script>
|
||||
<script src="../shared/thirdparty/console-polyfill.js"></script>
|
||||
<script src="../../build/react.js"></script>
|
||||
<script src="../../build/JSXTransformer.js"></script>
|
||||
<script type="text/jsx" src="example.js"></script>
|
||||
|
||||
@@ -24,6 +24,9 @@
|
||||
Learn more about React at
|
||||
<a href="http://facebook.github.io/react" target="_blank">facebook.github.io/react</a>.
|
||||
</p>
|
||||
<script src="../shared/thirdparty/es5-shim.min.js"></script>
|
||||
<script src="../shared/thirdparty/es5-sham.min.js"></script>
|
||||
<script src="../shared/thirdparty/console-polyfill.js"></script>
|
||||
<script src="bundle.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -24,6 +24,9 @@
|
||||
Learn more about React at
|
||||
<a href="http://facebook.github.io/react" target="_blank">facebook.github.io/react</a>.
|
||||
</p>
|
||||
<script src="../shared/thirdparty/es5-shim.min.js"></script>
|
||||
<script src="../shared/thirdparty/es5-sham.min.js"></script>
|
||||
<script src="../shared/thirdparty/console-polyfill.js"></script>
|
||||
<script src="../../build/react.js"></script>
|
||||
<script src="../../build/JSXTransformer.js"></script>
|
||||
<script type="text/jsx" src="example.js"></script>
|
||||
|
||||
@@ -24,6 +24,9 @@ jsx . build/</pre>
|
||||
Learn more about React at
|
||||
<a href="http://facebook.github.io/react" target="_blank">facebook.github.io/react</a>.
|
||||
</p>
|
||||
<script src="../shared/thirdparty/es5-shim.min.js"></script>
|
||||
<script src="../shared/thirdparty/es5-sham.min.js"></script>
|
||||
<script src="../shared/thirdparty/console-polyfill.js"></script>
|
||||
<script src="../../build/react.js"></script>
|
||||
<script src="build/example.js"></script>
|
||||
</body>
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
Learn more about React at
|
||||
<a href="http://facebook.github.io/react" target="_blank">facebook.github.io/react</a>.
|
||||
</p>
|
||||
<script src="../shared/thirdparty/es5-shim.min.js"></script>
|
||||
<script src="../shared/thirdparty/es5-sham.min.js"></script>
|
||||
<script src="../shared/thirdparty/console-polyfill.js"></script>
|
||||
<script src="../../build/react.js"></script>
|
||||
<script src="../../build/JSXTransformer.js"></script>
|
||||
<script type="text/jsx">
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
Learn more about React at
|
||||
<a href="http://facebook.github.io/react" target="_blank">facebook.github.io/react</a>.
|
||||
</p>
|
||||
<script src="../shared/thirdparty/es5-shim.min.js"></script>
|
||||
<script src="../shared/thirdparty/es5-sham.min.js"></script>
|
||||
<script src="../shared/thirdparty/console-polyfill.js"></script>
|
||||
<script src="../../build/react.js"></script>
|
||||
<script>
|
||||
var ExampleApplication = React.createClass({
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="jqueryexample"></div>
|
||||
<script src="../shared/thirdparty/es5-shim.min.js"></script>
|
||||
<script src="../shared/thirdparty/es5-sham.min.js"></script>
|
||||
<script src="../shared/thirdparty/console-polyfill.js"></script>
|
||||
<script src="../../build/react.js"></script>
|
||||
<script src="../../build/JSXTransformer.js"></script>
|
||||
<script type="text/javascript" src="../shared/thirdparty/jquery.min.js" charset="utf-8"></script>
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
</head>
|
||||
<body class="ui-mobile-viewport ui-overlay-a">
|
||||
<div id="content"></div>
|
||||
<script src="../shared/thirdparty/es5-shim.min.js"></script>
|
||||
<script src="../shared/thirdparty/es5-sham.min.js"></script>
|
||||
<script src="../shared/thirdparty/console-polyfill.js"></script>
|
||||
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
|
||||
<script src="//code.jquery.com/mobile/1.4.0/jquery.mobile-1.4.0.min.js"></script>
|
||||
<script src="../../build/react.js"></script>
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
// Console-polyfill. MIT license.
|
||||
// https://github.com/paulmillr/console-polyfill
|
||||
// Make it safe to do console.log() always.
|
||||
(function(con) {
|
||||
'use strict';
|
||||
var prop, method;
|
||||
var empty = {};
|
||||
var dummy = function() {};
|
||||
var properties = 'memory'.split(',');
|
||||
var methods = ('assert,clear,count,debug,dir,dirxml,error,exception,group,' +
|
||||
'groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,' +
|
||||
'table,time,timeEnd,timeStamp,trace,warn').split(',');
|
||||
while (prop = properties.pop()) con[prop] = con[prop] || empty;
|
||||
while (method = methods.pop()) con[method] = con[method] || dummy;
|
||||
})(this.console = this.console || {}); // Using `this` for web workers.
|
||||
+2
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
@@ -24,6 +24,9 @@
|
||||
Learn more about React at
|
||||
<a href="http://facebook.github.io/react" target="_blank">facebook.github.io/react</a>.
|
||||
</p>
|
||||
<script src="../shared/thirdparty/es5-shim.min.js"></script>
|
||||
<script src="../shared/thirdparty/es5-sham.min.js"></script>
|
||||
<script src="../shared/thirdparty/console-polyfill.js"></script>
|
||||
<script src="../../build/react-with-addons.js"></script>
|
||||
<script src="../../build/JSXTransformer.js"></script>
|
||||
<script type="text/jsx">
|
||||
|
||||
Reference in New Issue
Block a user