@@ -211,7 +211,8 @@ var ModalPortal = module.exports = React.createClass({
211
211
render : function ( ) {
212
212
return this . shouldBeClosed ( ) ? div ( ) : (
213
213
div ( {
214
- className : this . buildClassName ( 'overlay' ) ,
214
+ ref : "overlay" ,
215
+ className : cx ( this . buildClassName ( 'overlay' ) , this . props . overlayClassName ) ,
215
216
style : this . overlayStyles ,
216
217
onClick : this . handleOverlayClick
217
218
} ,
@@ -442,19 +443,12 @@ module.exports = _dereq_('./components/Modal');
442
443
443
444
} , { "./components/Modal" :1 } ] , 9 :[ function ( _dereq_ , module , exports ) {
444
445
/**
445
- * Copyright 2013-2014 Facebook, Inc.
446
+ * Copyright 2013-2014, Facebook, Inc.
447
+ * All rights reserved.
446
448
*
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.
458
452
*
459
453
* @providesModule cx
460
454
*/
0 commit comments