Skip to content

Commit

Permalink
Renamed react-create-class to create-react-class and fixed up tests t…
Browse files Browse the repository at this point in the history
…o run in addons folder
  • Loading branch information
Brian Vaughn committed Mar 31, 2017
1 parent e264323 commit f42f38e
Show file tree
Hide file tree
Showing 10 changed files with 2,533 additions and 95 deletions.
File renamed without changes.
File renamed without changes.
Expand Up @@ -25,7 +25,7 @@
throw Error('React module should be required before createClass');
}

g.ReactCreateClass = f();
g.createReactClass = 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(require,module,exports){
(function (process){
Expand Down

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
@@ -1,6 +1,6 @@
{
"name": "react-create-class",
"version": "15.5.0-alpha.7",
"name": "create-react-class",
"version": "15.5.0",
"description": "Deprecated, legacy API for creating React components.",
"main": "index.js",
"license": "BSD-3-Clause",
Expand All @@ -9,8 +9,8 @@
"PATENTS",
"factory.js",
"index.js",
"react-create-class.js",
"react-create-class.min.js"
"create-react-class.js",
"create-react-class.min.js"
],
"repository": "facebook/react",
"keywords": [
Expand All @@ -22,5 +22,14 @@
"homepage": "https://facebook.github.io/react/",
"dependencies": {
"fbjs": "^0.8.9"
},
"scripts": {
"test": "jest"
},
"devDependencies": {
"jest": "^19.0.2",
"react": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15.4.2"
}
}

0 comments on commit f42f38e

Please sign in to comment.