diff --git a/src/vendor/core/CSSCore.js b/src/vendor/core/CSSCore.js index a17cb26956..ef7a3e7d1d 100644 --- a/src/vendor/core/CSSCore.js +++ b/src/vendor/core/CSSCore.js @@ -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( diff --git a/src/vendor/stubs/EventListener.js b/src/vendor/stubs/EventListener.js index c3ddd3186e..0175765c10 100644 --- a/src/vendor/stubs/EventListener.js +++ b/src/vendor/stubs/EventListener.js @@ -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 */