Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

Commit

Permalink
Removed react entry from require_config.js in favor of reactaddons
Browse files Browse the repository at this point in the history
  • Loading branch information
George Schneeloch committed Aug 17, 2015
1 parent 3f19479 commit 3702a83
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion ui/jstests/test-icheckbox.jsx
@@ -1,4 +1,4 @@
define(['QUnit', 'jquery', 'utils', 'test_utils', 'reactaddons', 'icheck'],
define(['QUnit', 'jquery', 'utils', 'test_utils', 'react', 'icheck'],
function(QUnit, $, Utils, TestUtils, React) {
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion ui/jstests/test-learning-resource.jsx
@@ -1,4 +1,4 @@
define(['QUnit', 'jquery', 'reactaddons', 'lodash', 'learning_resources',
define(['QUnit', 'jquery', 'react', 'lodash', 'learning_resources',
'test_utils', 'jquery_mockjax'], function(
QUnit, $, React, _, LearningResources, TestUtils) {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion ui/jstests/test-select2.jsx
@@ -1,4 +1,4 @@
define(['QUnit', 'jquery', 'utils', 'reactaddons',
define(['QUnit', 'jquery', 'utils', 'react',
'test_utils'], function(
QUnit, $, Utils, React, TestUtils) {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion ui/jstests/test-static-assets.jsx
@@ -1,4 +1,4 @@
define(['QUnit', 'jquery', 'static_assets', 'reactaddons',
define(['QUnit', 'jquery', 'static_assets', 'react',
'test_utils'], function(
QUnit, $, StaticAssets, React, TestUtils) {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion ui/jstests/test_lr_exports.jsx
@@ -1,4 +1,4 @@
define(['QUnit', 'jquery', 'lr_exports', 'reactaddons',
define(['QUnit', 'jquery', 'lr_exports', 'react',
'test_utils'], function(QUnit, $, Exports, React, TestUtils) {
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion ui/jstests/test_manage_taxonomies.jsx
@@ -1,4 +1,4 @@
define(['QUnit', 'jquery', 'manage_taxonomies', 'reactaddons',
define(['QUnit', 'jquery', 'manage_taxonomies', 'react',
'test_utils'],
function(QUnit, $, ManageTaxonomies, React, TestUtils) {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion ui/static/ui/js/learning_resources.jsx
@@ -1,5 +1,5 @@
define('learning_resources', [
'reactaddons', 'jquery', 'lodash', 'utils'], function (
'react', 'jquery', 'lodash', 'utils'], function (
React, $, _, Utils) {
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion ui/static/ui/js/lr_exports.jsx
@@ -1,5 +1,5 @@
define("lr_exports",
['reactaddons', 'jquery', 'lodash', 'utils', 'icheck'],
['react', 'jquery', 'lodash', 'utils', 'icheck'],
function (React, $, _, Utils) {
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion ui/static/ui/js/manage_taxonomies.jsx
@@ -1,4 +1,4 @@
define('manage_taxonomies', ['reactaddons', 'lodash', 'jquery', 'utils'],
define('manage_taxonomies', ['react', 'lodash', 'jquery', 'utils'],
function (React, _, $, Utils) {
'use strict';

Expand Down
3 changes: 1 addition & 2 deletions ui/static/ui/js/require_config.js
Expand Up @@ -5,8 +5,7 @@ var REQUIRE_PATHS = {
bootstrap: "bootstrap/dist/js/bootstrap",
icheck: "icheck/icheck",
retina: "retina.js/dist/retina",
react: "react/react",
reactaddons: "react/react-with-addons",
react: "react/react-with-addons",
lodash: "lodash/lodash",
select2: "select2/dist/js/select2.full",
csrf: "../ui/js/csrf",
Expand Down
2 changes: 1 addition & 1 deletion ui/static/ui/js/static_assets.jsx
@@ -1,5 +1,5 @@
define('static_assets', [
'reactaddons', 'jquery', 'lodash', 'utils'], function (React, $, _, Utils) {
'react', 'jquery', 'lodash', 'utils'], function (React, $, _, Utils) {
'use strict';

var StatusBox = Utils.StatusBox;
Expand Down
2 changes: 1 addition & 1 deletion ui/static/ui/js/utils.jsx
@@ -1,4 +1,4 @@
define("utils", ["jquery", "lodash", "reactaddons", "select2"],
define("utils", ["jquery", "lodash", "react", "select2"],
function ($, _, React) {
'use strict';

Expand Down

0 comments on commit 3702a83

Please sign in to comment.