Browse Source

Final docs update for 0.14

main
Paul O’Shannessy 10 years ago
parent
commit
12f5206afd
  1. BIN
      downloads/react-0.14.0.zip
  2. 2
      js/react-dom.js
  3. 11
      js/react.js

BIN
downloads/react-0.14.0.zip

Binary file not shown.

2
js/react-dom.js

@ -1,5 +1,5 @@
/**
* ReactDOM v0.14.0-rc1
* ReactDOM v0.14.0
*
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.

11
js/react.js

@ -1,5 +1,5 @@
/**
* React v0.14.0-rc1
* React v0.14.0
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.React = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
/**
@ -5971,8 +5971,13 @@ var ReactCompositeComponentMixin = {
attachRef: function (ref, component) {
var inst = this.getPublicInstance();
!(inst != null) ? "development" !== 'production' ? invariant(false, 'Stateless function components cannot have refs.') : invariant(false) : undefined;
var publicComponentInstance = component.getPublicInstance();
if ("development" !== 'production') {
var componentName = component && component.getName ? component.getName() : 'a component';
"development" !== 'production' ? warning(publicComponentInstance != null, 'Stateless function components cannot be given refs ' + '(See ref "%s" in %s created by %s). ' + 'Attempts to access this ref will fail.', ref, componentName, this.getName()) : undefined;
}
var refs = inst.refs === emptyObject ? inst.refs = {} : inst.refs;
refs[ref] = component.getPublicInstance();
refs[ref] = publicComponentInstance;
},
/**
@ -13825,7 +13830,7 @@ module.exports = ReactUpdates;
'use strict';
module.exports = '0.14.0-rc1';
module.exports = '0.14.0';
},{}],85:[function(_dereq_,module,exports){
/**
* Copyright 2013-2015, Facebook, Inc.

Loading…
Cancel
Save