react-source 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/build/react.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React v0.4.1
2
+ * React v0.4.2
3
3
  */
4
4
  (function(e){if("function"==typeof bootstrap)bootstrap("react",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeReact=e}else"undefined"!=typeof window?window.React=e():global.React=e()})(function(){var define,ses,bootstrap,module,exports;
5
5
  return (function(e,t,n){function i(n,s){if(!t[n]){if(!e[n]){var o=typeof require=="function"&&require;if(!s&&o)return o(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var u=t[n]={exports:{}};e[n][0].call(u.exports,function(t){var r=e[n][1][t];return i(r?r:t)},u,u.exports)}return t[n].exports}var r=typeof require=="function"&&require;for(var s=0;s<n.length;s++)i(n[s]);return i})({1:[function(require,module,exports){
@@ -334,7 +334,7 @@ var CallbackRegistry = {
334
334
  module.exports = CallbackRegistry;
335
335
 
336
336
  },{}],5:[function(require,module,exports){
337
- (function(){/**
337
+ /**
338
338
  * Copyright 2013 Facebook, Inc.
339
339
  *
340
340
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -729,9 +729,8 @@ var ChangeEventPlugin = {
729
729
 
730
730
  module.exports = ChangeEventPlugin;
731
731
 
732
- })()
733
732
  },{"./EventConstants":13,"./EventPluginHub":15,"./EventPropagators":18,"./ExecutionEnvironment":19,"./SyntheticEvent":51,"./isEventSupported":79,"./keyOf":82}],6:[function(require,module,exports){
734
- (function(){/**
733
+ /**
735
734
  * Copyright 2013 Facebook, Inc.
736
735
  *
737
736
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -876,7 +875,6 @@ var DOMChildrenOperations = {
876
875
 
877
876
  module.exports = DOMChildrenOperations;
878
877
 
879
- })()
880
878
  },{"./Danger":9,"./insertNodeAt":77,"./keyOf":82,"./throwIf":89}],7:[function(require,module,exports){
881
879
  /**
882
880
  * Copyright 2013 Facebook, Inc.
@@ -1670,7 +1668,7 @@ var DefaultEventPluginOrder = [
1670
1668
  module.exports = DefaultEventPluginOrder;
1671
1669
 
1672
1670
  },{"./keyOf":82}],12:[function(require,module,exports){
1673
- (function(){/**
1671
+ /**
1674
1672
  * Copyright 2013 Facebook, Inc.
1675
1673
  *
1676
1674
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1778,7 +1776,6 @@ var EnterLeaveEventPlugin = {
1778
1776
 
1779
1777
  module.exports = EnterLeaveEventPlugin;
1780
1778
 
1781
- })()
1782
1779
  },{"./EventConstants":13,"./EventPropagators":18,"./ExecutionEnvironment":19,"./ReactMount":39,"./SyntheticMouseEvent":54,"./keyOf":82}],13:[function(require,module,exports){
1783
1780
  /**
1784
1781
  * Copyright 2013 Facebook, Inc.
@@ -2718,7 +2715,7 @@ var EventPropagators = {
2718
2715
  module.exports = EventPropagators;
2719
2716
 
2720
2717
  },{"./CallbackRegistry":4,"./EventConstants":13,"./accumulate":61,"./forEachAccumulated":70}],19:[function(require,module,exports){
2721
- (function(){/**
2718
+ /**
2722
2719
  * Copyright 2013 Facebook, Inc.
2723
2720
  *
2724
2721
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -2762,7 +2759,6 @@ var ExecutionEnvironment = {
2762
2759
 
2763
2760
  module.exports = ExecutionEnvironment;
2764
2761
 
2765
- })()
2766
2762
  },{}],20:[function(require,module,exports){
2767
2763
  /**
2768
2764
  * Copyright 2013 Facebook, Inc.
@@ -3585,7 +3581,7 @@ var ReactComponent = {
3585
3581
  module.exports = ReactComponent;
3586
3582
 
3587
3583
  },{"./ReactCurrentOwner":25,"./ReactDOMIDOperations":28,"./ReactMarkupChecksum":38,"./ReactMount":39,"./ReactOwner":43,"./ReactReconcileTransaction":46,"./ReactUpdates":49,"./getReactRootElementInContainer":73,"./invariant":78,"./keyMirror":81,"./merge":84}],24:[function(require,module,exports){
3588
- (function(){/**
3584
+ /**
3589
3585
  * Copyright 2013 Facebook, Inc.
3590
3586
  *
3591
3587
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -4501,7 +4497,6 @@ var ReactCompositeComponent = {
4501
4497
 
4502
4498
  module.exports = ReactCompositeComponent;
4503
4499
 
4504
- })()
4505
4500
  },{"./ReactComponent":23,"./ReactCurrentOwner":25,"./ReactOwner":43,"./ReactPropTransferer":44,"./ReactUpdates":49,"./invariant":78,"./keyMirror":81,"./merge":84,"./mixInto":87}],25:[function(require,module,exports){
4506
4501
  /**
4507
4502
  * Copyright 2013 Facebook, Inc.
@@ -4793,7 +4788,7 @@ var ReactDOMForm = ReactCompositeComponent.createClass({
4793
4788
  module.exports = ReactDOMForm;
4794
4789
 
4795
4790
  },{"./EventConstants":13,"./ReactCompositeComponent":24,"./ReactDOM":26,"./ReactEventEmitter":34}],28:[function(require,module,exports){
4796
- (function(){/**
4791
+ /**
4797
4792
  * Copyright 2013 Facebook, Inc.
4798
4793
  *
4799
4794
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -4979,7 +4974,6 @@ var ReactDOMIDOperations = {
4979
4974
 
4980
4975
  module.exports = ReactDOMIDOperations;
4981
4976
 
4982
- })()
4983
4977
  },{"./CSSPropertyOperations":3,"./DOMChildrenOperations":6,"./DOMPropertyOperations":8,"./ReactMount":39,"./getTextContentAccessor":74,"./invariant":78}],29:[function(require,module,exports){
4984
4978
  /**
4985
4979
  * Copyright 2013 Facebook, Inc.
@@ -5525,7 +5519,7 @@ module.exports = {
5525
5519
  };
5526
5520
 
5527
5521
  },{"./ChangeEventPlugin":5,"./DOMProperty":7,"./DefaultDOMPropertyConfig":10,"./DefaultEventPluginOrder":11,"./EnterLeaveEventPlugin":12,"./EventPluginHub":15,"./MobileSafariClickEventPlugin":20,"./ReactDOM":26,"./ReactDOMForm":27,"./ReactDOMInput":29,"./ReactDOMOption":30,"./ReactDOMSelect":31,"./ReactDOMTextarea":32,"./ReactEventEmitter":34,"./ReactEventTopLevelCallback":35,"./ReactInstanceHandles":37,"./SimpleEventPlugin":50}],34:[function(require,module,exports){
5528
- (function(){/**
5522
+ /**
5529
5523
  * Copyright 2013 Facebook, Inc.
5530
5524
  *
5531
5525
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -5875,9 +5869,8 @@ var ReactEventEmitter = {
5875
5869
 
5876
5870
  module.exports = ReactEventEmitter;
5877
5871
 
5878
- })()
5879
5872
  },{"./EventConstants":13,"./EventListener":14,"./EventPluginHub":15,"./ExecutionEnvironment":19,"./ReactUpdates":49,"./ViewportMetrics":60,"./invariant":78,"./isEventSupported":79}],35:[function(require,module,exports){
5880
- (function(){/**
5873
+ /**
5881
5874
  * Copyright 2013 Facebook, Inc.
5882
5875
  *
5883
5876
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -5968,7 +5961,6 @@ var ReactEventTopLevelCallback = {
5968
5961
 
5969
5962
  module.exports = ReactEventTopLevelCallback;
5970
5963
 
5971
- })()
5972
5964
  },{"./ExecutionEnvironment":19,"./ReactEventEmitter":34,"./ReactMount":39,"./getEventTarget":72}],36:[function(require,module,exports){
5973
5965
  /**
5974
5966
  * Copyright 2013 Facebook, Inc.
@@ -6525,7 +6517,7 @@ var ReactMarkupChecksum = {
6525
6517
  module.exports = ReactMarkupChecksum;
6526
6518
 
6527
6519
  },{"./adler32":62}],39:[function(require,module,exports){
6528
- (function(){/**
6520
+ /**
6529
6521
  * Copyright 2013 Facebook, Inc.
6530
6522
  *
6531
6523
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -7105,9 +7097,8 @@ var ReactMount = {
7105
7097
 
7106
7098
  module.exports = ReactMount;
7107
7099
 
7108
- })()
7109
7100
  },{"./$":1,"./ReactEventEmitter":34,"./ReactInstanceHandles":37,"./getReactRootElementInContainer":73,"./invariant":78}],40:[function(require,module,exports){
7110
- (function(){/**
7101
+ /**
7111
7102
  * Copyright 2013 Facebook, Inc.
7112
7103
  *
7113
7104
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -7315,7 +7306,6 @@ var ReactMultiChild = {
7315
7306
 
7316
7307
  module.exports = ReactMultiChild;
7317
7308
 
7318
- })()
7319
7309
  },{"./ReactComponent":23}],41:[function(require,module,exports){
7320
7310
  /**
7321
7311
  * Copyright 2013 Facebook, Inc.
@@ -8478,7 +8468,7 @@ mixInto(ReactTextComponent, {
8478
8468
  mountComponent: function(rootID) {
8479
8469
  ReactComponent.Mixin.mountComponent.call(this, rootID);
8480
8470
  return (
8481
- '<span ' + ReactMount.ATTR_NAME + '="' + rootID + '">' +
8471
+ '<span ' + ReactMount.ATTR_NAME + '="' + escapeTextForBrowser(rootID) + '">' +
8482
8472
  escapeTextForBrowser(this.props.text) +
8483
8473
  '</span>'
8484
8474
  );
@@ -9378,7 +9368,7 @@ var SyntheticUIEvent = require("./SyntheticUIEvent");
9378
9368
 
9379
9369
  /**
9380
9370
  * @interface TouchEvent
9381
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
9371
+ * @see http://www.w3.org/TR/touch-events/
9382
9372
  */
9383
9373
  var TouchEventInterface = {
9384
9374
  touches: null,
@@ -9517,7 +9507,7 @@ SyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface);
9517
9507
  module.exports = SyntheticWheelEvent;
9518
9508
 
9519
9509
  },{"./SyntheticMouseEvent":54}],59:[function(require,module,exports){
9520
- (function(){/**
9510
+ /**
9521
9511
  * Copyright 2013 Facebook, Inc.
9522
9512
  *
9523
9513
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -9769,7 +9759,6 @@ var Transaction = {
9769
9759
 
9770
9760
  module.exports = Transaction;
9771
9761
 
9772
- })()
9773
9762
  },{"./invariant":78}],60:[function(require,module,exports){
9774
9763
  /**
9775
9764
  * Copyright 2013 Facebook, Inc.
@@ -10414,7 +10403,7 @@ function _getNodeID(node) {
10414
10403
  module.exports = ge;
10415
10404
 
10416
10405
  },{}],72:[function(require,module,exports){
10417
- (function(){/**
10406
+ /**
10418
10407
  * Copyright 2013 Facebook, Inc.
10419
10408
  *
10420
10409
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -10456,7 +10445,6 @@ function getEventTarget(nativeEvent) {
10456
10445
 
10457
10446
  module.exports = getEventTarget;
10458
10447
 
10459
- })()
10460
10448
  },{"./ExecutionEnvironment":19}],73:[function(require,module,exports){
10461
10449
  /**
10462
10450
  * Copyright 2013 Facebook, Inc.
@@ -10577,10 +10565,10 @@ function hasArrayNature(obj) {
10577
10565
  (typeof obj.nodeType != 'number') &&
10578
10566
  (
10579
10567
  // a real array
10568
+ (// HTMLCollection/NodeList
10580
10569
  (Array.isArray(obj) ||
10581
10570
  // arguments
10582
- ('callee' in obj) || // HTMLCollection/NodeList
10583
- 'item' in obj)
10571
+ ('callee' in obj) || 'item' in obj))
10584
10572
  )
10585
10573
  );
10586
10574
  }
@@ -11334,7 +11322,7 @@ var throwIf = function(condition, err) {
11334
11322
  module.exports = throwIf;
11335
11323
 
11336
11324
  },{}],90:[function(require,module,exports){
11337
- (function(){/**
11325
+ /**
11338
11326
  * Copyright 2013 Facebook, Inc.
11339
11327
  *
11340
11328
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -11462,7 +11450,6 @@ function traverseAllChildren(children, callback, traverseContext) {
11462
11450
 
11463
11451
  module.exports = traverseAllChildren;
11464
11452
 
11465
- })()
11466
11453
  },{"./ReactComponent":23,"./ReactTextComponent":48,"./invariant":78}]},{},[22])(22)
11467
11454
  });
11468
11455
  ;