Sync upstream modules

This commit is contained in:
Paul O’Shannessy
2014-10-10 10:40:18 -07:00
parent 5d127eaa49
commit 0dccf64c67
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ var CSSCore = {
*
* @param {DOMNode|DOMWindow} element the element to set the class on
* @param {string} className the CSS className
* @returns {boolean} true if the element has the class, false if not
* @return {boolean} true if the element has the class, false if not
*/
hasClass: function(element, className) {
invariant(
+14
View File
@@ -1,4 +1,18 @@
/**
* Copyright 2013-2014 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 EventListener
* @typechecks
*/