Make @typechecks static-only

This commit is contained in:
CommitSyncScript
2013-06-25 14:01:15 -07:00
committed by Paul O’Shannessy
parent d93761af62
commit a9b024330c
32 changed files with 83 additions and 30 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule ReactDOM
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule ReactDOMIDOperations
* @typechecks
* @typechecks static-only
*/
/*jslint evil: true */
+26
View File
@@ -0,0 +1,26 @@
/**
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactDOMNodeCache
* @typechecks static-only
*/
"use strict";
var ReactID = require('ReactID');
exports.getNodeByID = ReactID.getNode;
exports.purgeID = ReactID.purgeID;
exports.purgeEntireCache = ReactID.purgeEntireCache;
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule ReactEventEmitter
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule ReactEventTopLevelCallback
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule ReactID
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule ReactInstanceHandles
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule ReactNativeComponent
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule ReactReconcileTransaction
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule ReactTextComponent
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule CSSPropertyOperations
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule DOMProperty
* @typechecks
* @typechecks static-only
*/
/*jslint bitwise: true */
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule DOMPropertyOperations
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule dangerousStyleValue
* @typechecks
* @typechecks static-only
*/
"use strict";
+27
View File
@@ -0,0 +1,27 @@
/**
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule getDOMNodeID
* @typechecks static-only
*/
"use strict";
var ReactID = require('ReactID');
function getDOMNodeID(domNode) {
return ReactID.getID(domNode);
}
module.exports = getDOMNodeID;
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule getEventTarget
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @typechecks
* @typechecks static-only
* @providesModule ReactServerRendering
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule CallbackRegistry
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule EventPluginRegistry
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule SyntheticEvent
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule SyntheticFocusEvent
* @typechecks
* @typechecks static-only
*/
"use strict";
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule SyntheticKeyboardEvent
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule SyntheticMouseEvent
* @typechecks
* @typechecks static-only
*/
"use strict";
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule SyntheticMutationEvent
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule SyntheticTouchEvent
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule SyntheticUIEvent
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule SyntheticWheelEvent
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule EnterLeaveEventPlugin
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule TapEventPlugin
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule joinClasses
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule memoizeStringOnly
* @typechecks
* @typechecks static-only
*/
"use strict";
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*
* @providesModule mergeInto
* @typechecks
* @typechecks static-only
*/
"use strict";