@@ -211,7 +211,8 @@ var ModalPortal = module.exports = React.createClass({
211211 render : function ( ) {
212212 return this . shouldBeClosed ( ) ? div ( ) : (
213213 div ( {
214- className : this . buildClassName ( 'overlay' ) ,
214+ ref : "overlay" ,
215+ className : cx ( this . buildClassName ( 'overlay' ) , this . props . overlayClassName ) ,
215216 style : this . overlayStyles ,
216217 onClick : this . handleOverlayClick
217218 } ,
@@ -442,19 +443,12 @@ module.exports = _dereq_('./components/Modal');
442443
443444} , { "./components/Modal" :1 } ] , 9 :[ function ( _dereq_ , module , exports ) {
444445/**
445- * Copyright 2013-2014 Facebook, Inc.
446+ * Copyright 2013-2014, Facebook, Inc.
447+ * All rights reserved.
446448 *
447- * Licensed under the Apache License, Version 2.0 (the "License");
448- * you may not use this file except in compliance with the License.
449- * You may obtain a copy of the License at
450- *
451- * http://www.apache.org/licenses/LICENSE-2.0
452- *
453- * Unless required by applicable law or agreed to in writing, software
454- * distributed under the License is distributed on an "AS IS" BASIS,
455- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
456- * See the License for the specific language governing permissions and
457- * limitations under the License.
449+ * This source code is licensed under the BSD-style license found in the
450+ * LICENSE file in the root directory of this source tree. An additional grant
451+ * of patent rights can be found in the PATENTS file in the same directory.
458452 *
459453 * @providesModule cx
460454 */
0 commit comments