Created
March 2, 2015 22:34
-
-
Save burabure/fba8cae816cbc25244b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
for (var _iterator = ViewportAngles[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { | |
var angle = _step.value; | |
var checked = this.props.viewAngle === angle; | |
viewAngleOptions.push(React.createElement( | |
"div", | |
{ className: "viewAngle" }, | |
React.createElement("input", { | |
type: "radio", | |
name: "viewportAngles", | |
id: angle, | |
value: angle, | |
key: angle, | |
checked: this.props.checked, | |
onChange: this._onChangeView }), | |
React.createElement( | |
"label", | |
{ htmlFor: angle }, | |
angle | |
) | |
)); | |
} | |
} catch (err) { | |
_didIteratorError = true; | |
_iteratorError = err; | |
} finally { | |
try { | |
if (!_iteratorNormalCompletion && _iterator["return"]) { | |
_iterator["return"](); | |
} | |
} finally { | |
if (_didIteratorError) { | |
throw _iteratorError; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment