Skip to content

Commit

Permalink
Add build files (auto-generated)
Browse files Browse the repository at this point in the history
Fixes #365
  • Loading branch information
ipeychev committed Nov 5, 2015
1 parent 86caffc commit 0589758
Show file tree
Hide file tree
Showing 21 changed files with 40,672 additions and 41,946 deletions.
4 changes: 2 additions & 2 deletions api/files/src_ui_react_src_adapter_alloy-editor.js.html
Expand Up @@ -233,7 +233,7 @@ <h1><small>File</small> <code>src/ui/react/src/adapter/alloy-editor.js</code></h
*/
destructor: function() {
if (this._editorUIElement) {
React.unmountComponentAtNode(this._editorUIElement);
ReactDOM.unmountComponentAtNode(this._editorUIElement);
this._editorUIElement.parentNode.removeChild(this._editorUIElement);
}

Expand Down Expand Up @@ -278,7 +278,7 @@ <h1><small>File</small> <code>src/ui/react/src/adapter/alloy-editor.js</code></h

uiNode.appendChild(editorUIElement);

this._mainUI = React.render(React.createElement(AlloyEditor.UI, {
this._mainUI = ReactDOM.render(React.createElement(AlloyEditor.UI, {
editor: this,
eventsDelay: this.get(&#x27;eventsDelay&#x27;),
toolbars: this.get(&#x27;toolbars&#x27;)
Expand Down
Expand Up @@ -239,7 +239,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/base/widget-dropdown.j
if (this.moveFocus) {
this.moveFocus(toggleDirection);
} else {
React.findDOMNode(this).focus();
ReactDOM.findDOMNode(this).focus();
}
}
});
Expand Down
Expand Up @@ -472,7 +472,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/base/widget-focus-mana
* @method _refresh
*/
_refresh: function() {
var domNode = React.findDOMNode(this);
var domNode = ReactDOM.findDOMNode(this);

if (domNode) {
var descendants = domNode.querySelectorAll(this.props.descendants);
Expand Down
Expand Up @@ -281,7 +281,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/base/widget-position.j
* @return {Array} An Array with left and top offsets in page coordinates.
*/
getWidgetXYPoint: function(left, top, direction) {
var domNode = React.findDOMNode(this);
var domNode = ReactDOM.findDOMNode(this);

var gutter = this.props.gutter;

Expand Down Expand Up @@ -319,7 +319,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/base/widget-position.j
* @return {Boolean} True if the widget is visible, false otherwise
*/
isVisible: function() {
var domNode = this.getDOMNode();
var domNode = ReactDOM.findDOMNode(this);

if (domNode) {
var domElement = new CKEDITOR.dom.element(domNode);
Expand All @@ -338,7 +338,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/base/widget-position.j
* @param {Object} endPoint The destination point for the movement.
*/
moveToPoint: function(startPoint, endPoint) {
var domElement = new CKEDITOR.dom.element(this.getDOMNode());
var domElement = new CKEDITOR.dom.element(ReactDOM.findDOMNode(this));

domElement.setStyles({
left: startPoint[0] + &#x27;px&#x27;,
Expand All @@ -365,7 +365,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/base/widget-position.j
* @method show
*/
show: function() {
var domNode = React.findDOMNode(this);
var domNode = ReactDOM.findDOMNode(this);

if (!this.isVisible() &amp;&amp; domNode) {
var interactionPoint = this.getInteractionPoint();
Expand Down Expand Up @@ -412,7 +412,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/base/widget-position.j
updatePosition: function() {
var interactionPoint = this.getInteractionPoint();

var domNode = React.findDOMNode(this);
var domNode = ReactDOM.findDOMNode(this);

if (interactionPoint &amp;&amp; domNode) {
var xy = this.getWidgetXYPoint(interactionPoint.x, interactionPoint.y, interactionPoint.direction);
Expand Down
Expand Up @@ -210,7 +210,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/buttons/button-camera-
* @method componentDidMount
*/
componentDidMount: function () {
React.findDOMNode(this.refs.buttonTakePhoto).focus();
ReactDOM.findDOMNode(this.refs.buttonTakePhoto).focus();
},

/**
Expand Down Expand Up @@ -257,8 +257,8 @@ <h1><small>File</small> <code>src/ui/react/src/components/buttons/button-camera-
* @method takePhoto
*/
takePhoto: function() {
var videoEl = React.findDOMNode(this.refs.videoContainer);
var canvasEl = React.findDOMNode(this.refs.canvasContainer);
var videoEl = ReactDOM.findDOMNode(this.refs.videoContainer);
var canvasEl = ReactDOM.findDOMNode(this.refs.canvasContainer);

var context = canvasEl.getContext(&#x27;2d&#x27;);

Expand Down Expand Up @@ -306,8 +306,8 @@ <h1><small>File</small> <code>src/ui/react/src/components/buttons/button-camera-
* @param {Object} stream The video stream
*/
_handleStreamSuccess: function(stream) {
var videoEl = React.findDOMNode(this.refs.videoContainer);
var canvasEl = React.findDOMNode(this.refs.canvasContainer);
var videoEl = ReactDOM.findDOMNode(this.refs.videoContainer);
var canvasEl = ReactDOM.findDOMNode(this.refs.canvasContainer);

videoEl.addEventListener(&#x27;canplay&#x27;, function(event) {
var height = videoEl.videoHeight / (videoEl.videoWidth/this.props.videoWidth);
Expand All @@ -334,7 +334,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/buttons/button-camera-

videoEl.play();

React.findDOMNode(this.refs.buttonTakePhoto).disabled = false;
ReactDOM.findDOMNode(this.refs.buttonTakePhoto).disabled = false;
}

/**
Expand Down
Expand Up @@ -228,7 +228,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/buttons/button-command
* @method componentDidMount
*/
componentDidMount: function () {
React.findDOMNode(this).focus();
ReactDOM.findDOMNode(this).focus();
},

/**
Expand Down
Expand Up @@ -243,7 +243,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/buttons/button-image.j
* @param {SyntheticEvent} event The received click event on the button.
*/
handleClick: function(event) {
React.findDOMNode(this.refs.fileInput).click();
ReactDOM.findDOMNode(this.refs.fileInput).click();
},

/**
Expand All @@ -258,7 +258,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/buttons/button-image.j
*/
_onInputChange: function() {
var reader = new FileReader();
var inputEl = React.findDOMNode(this.refs.fileInput);
var inputEl = ReactDOM.findDOMNode(this.refs.fileInput);

reader.onload = function(event) {
var editor = this.props.editor.get(&#x27;nativeEditor&#x27;);
Expand Down
Expand Up @@ -276,7 +276,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/buttons/button-link-ed
* @method _focusLinkInput
*/
_focusLinkInput: function() {
React.findDOMNode(this.refs.linkInput).focus();
ReactDOM.findDOMNode(this.refs.linkInput).focus();
},

/**
Expand Down
Expand Up @@ -204,7 +204,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/buttons/button-styles-
* @method componentDidMount
*/
componentDidMount: function () {
React.findDOMNode(this).focus();
ReactDOM.findDOMNode(this).focus();
},

/**
Expand Down
Expand Up @@ -238,7 +238,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/buttons/button-table-e
* @method componentDidMount
*/
componentDidMount: function () {
React.findDOMNode(this.refs.rows).focus();
ReactDOM.findDOMNode(this.refs.rows).focus();
},

/**
Expand Down
4 changes: 2 additions & 2 deletions api/files/src_ui_react_src_components_main.jsx.html
Expand Up @@ -288,7 +288,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/main.jsx</code></h1>
* @method componentDidUpdate
*/
componentDidUpdate: function (prevProps, prevState) {
var domNode = React.findDOMNode(this);
var domNode = ReactDOM.findDOMNode(this);

var editor = this.props.editor.get(&#x27;nativeEditor&#x27;);

Expand Down Expand Up @@ -486,7 +486,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/main.jsx</code></h1>
* @param {DOMElement} target The DOM element with which user interacted lastly.
*/
_setUIHidden: function(target) {
var domNode = React.findDOMNode(this);
var domNode = ReactDOM.findDOMNode(this);

if (domNode) {
var editable = this.props.editor.get(&#x27;nativeEditor&#x27;).editable();
Expand Down
Expand Up @@ -376,7 +376,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/toolbars/toolbar-add.j
*/
_updatePosition: function() {
// If component is not mounted, there is nothing to do
if (!React.findDOMNode(this)) {
if (!ReactDOM.findDOMNode(this)) {
return;
}

Expand All @@ -392,7 +392,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/toolbars/toolbar-add.j
}

if (region) {
var domNode = React.findDOMNode(this);
var domNode = ReactDOM.findDOMNode(this);
var domElement = new CKEDITOR.dom.element(domNode);

var startRect = region.startRect || region;
Expand Down
Expand Up @@ -402,7 +402,7 @@ <h1><small>File</small> <code>src/ui/react/src/components/toolbars/toolbar-style
*/
_updatePosition: function() {
// If component is not mounted, there is nothing to do
if (!React.findDOMNode(this)) {
if (!ReactDOM.findDOMNode(this)) {
return;
}

Expand Down
25 changes: 17 additions & 8 deletions dist/alloy-editor/alloy-editor-all-min.js

Large diffs are not rendered by default.

0 comments on commit 0589758

Please sign in to comment.