Sync upstream modules
Paul O’Shannessy committed
Oct 10, 2014 at 10:40 UTC
0dccf64c67f7700b407fd1da9b02e36a14067dfd
2 files changed
+15
-1
src/vendor/core/CSSCore.js
+1
-1
@@ -97,7 +97,7 @@ var CSSCore = {
97
*
98
* @param {DOMNode|DOMWindow} element the element to set the class on
99
* @param {string} className the CSS className
100
- * @returns {boolean} true if the element has the class, false if not
100
+ * @return {boolean} true if the element has the class, false if not
101
*/
102
hasClass: function(element, className) {
103
invariant(
src/vendor/stubs/EventListener.js
+14
@@ -1,4 +1,18 @@
1
/**
2
+ * Copyright 2013-2014 Facebook, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ *
16
* @providesModule EventListener
17
* @typechecks
18
*/