diff --git a/static/js/components/VideoPlayer.js b/static/js/components/VideoPlayer.js index a2add98d7..e547af1ca 100644 --- a/static/js/components/VideoPlayer.js +++ b/static/js/components/VideoPlayer.js @@ -2,7 +2,7 @@ /* global videojs: true */ /* global SETTINGS: false */ import React from "react" -import R from "ramda" +import * as R from "ramda" import _ from "lodash" import type { Dispatch } from "redux" import { makeVideoSubtitleUrl } from "../lib/urls" diff --git a/static/js/components/dialogs/hoc.js b/static/js/components/dialogs/hoc.js index 8743a879a..1d71a9991 100644 --- a/static/js/components/dialogs/hoc.js +++ b/static/js/components/dialogs/hoc.js @@ -1,6 +1,6 @@ // @flow import React from "react" -import R from "ramda" +import * as R from "ramda" import type { Dispatch } from "redux" import * as commonUiActions from "../../actions/commonUi" diff --git a/static/js/components/dialogs/hoc_test.js b/static/js/components/dialogs/hoc_test.js index 4bd6b8fb2..00dbc213e 100644 --- a/static/js/components/dialogs/hoc_test.js +++ b/static/js/components/dialogs/hoc_test.js @@ -4,7 +4,7 @@ import { assert } from "chai" import { mount } from "enzyme" import { Provider } from "react-redux" import configureTestStore from "redux-asserts" -import R from "ramda" +import * as R from "ramda" import { connect } from "react-redux" import Dialog from "../material/Dialog" diff --git a/static/js/components/material/Textfield.js b/static/js/components/material/Textfield.js index 14e7036d7..6c0d6a87c 100644 --- a/static/js/components/material/Textfield.js +++ b/static/js/components/material/Textfield.js @@ -1,6 +1,6 @@ // @flow import React from "react" -import R from "ramda" +import * as R from "ramda" export default class Textfield extends React.Component<*, void> { props: { diff --git a/static/js/containers/CollectionDetailPage.js b/static/js/containers/CollectionDetailPage.js index 3c07e8130..ff4ecad72 100644 --- a/static/js/containers/CollectionDetailPage.js +++ b/static/js/containers/CollectionDetailPage.js @@ -3,7 +3,7 @@ import React from "react" import { connect } from "react-redux" import type { Dispatch } from "redux" -import R from "ramda" +import * as R from "ramda" import _ from "lodash" import DocumentTitle from "react-document-title" diff --git a/static/js/containers/CollectionListPage.js b/static/js/containers/CollectionListPage.js index 4eb0ce437..7a04a2414 100644 --- a/static/js/containers/CollectionListPage.js +++ b/static/js/containers/CollectionListPage.js @@ -2,7 +2,7 @@ /* global SETTINGS: false */ import React from "react" -import R from "ramda" +import * as R from "ramda" import { connect } from "react-redux" import type { Dispatch } from "redux" import { Link } from "react-router-dom" diff --git a/static/js/containers/HelpPage.js b/static/js/containers/HelpPage.js index bc41c167b..d149a8237 100644 --- a/static/js/containers/HelpPage.js +++ b/static/js/containers/HelpPage.js @@ -1,7 +1,7 @@ // @flow import React from "react" import { connect } from "react-redux" -import R from "ramda" +import * as R from "ramda" import WithDrawer from "./WithDrawer" import FAQ from "../components/FAQ" diff --git a/static/js/containers/VideoDetailPage.js b/static/js/containers/VideoDetailPage.js index 950bca833..75e1446f3 100644 --- a/static/js/containers/VideoDetailPage.js +++ b/static/js/containers/VideoDetailPage.js @@ -4,7 +4,7 @@ import React from "react" import { connect } from "react-redux" import moment from "moment" import type { Dispatch } from "redux" -import R from "ramda" +import * as R from "ramda" import _ from "lodash" import DocumentTitle from "react-document-title" diff --git a/static/js/containers/WithDrawer.js b/static/js/containers/WithDrawer.js index 163b45177..a65f55e1d 100644 --- a/static/js/containers/WithDrawer.js +++ b/static/js/containers/WithDrawer.js @@ -1,7 +1,7 @@ // @flow /* global SETTINGS: false */ import React from "react" -import R from "ramda" +import * as R from "ramda" import { connect } from "react-redux" import * as commonUiActions from "../actions/commonUi" diff --git a/static/js/containers/withPagedCollections.js b/static/js/containers/withPagedCollections.js index 84db2f5bb..d4bce0a19 100644 --- a/static/js/containers/withPagedCollections.js +++ b/static/js/containers/withPagedCollections.js @@ -1,6 +1,6 @@ import React from "react" import _ from "lodash" -import R from "ramda" +import * as R from "ramda" import { connect } from "react-redux" import type { Dispatch } from "redux" diff --git a/static/js/containers/withVideoAnalytics.js b/static/js/containers/withVideoAnalytics.js index f9368f574..178f2a903 100644 --- a/static/js/containers/withVideoAnalytics.js +++ b/static/js/containers/withVideoAnalytics.js @@ -1,6 +1,6 @@ import React from "react" import _ from "lodash" -import R from "ramda" +import * as R from "ramda" import { connect } from "react-redux" import type { Dispatch } from "redux" diff --git a/static/js/lib/collection.js b/static/js/lib/collection.js index c87c8b1e8..19cc38804 100644 --- a/static/js/lib/collection.js +++ b/static/js/lib/collection.js @@ -1,5 +1,5 @@ // @flow -import R from "ramda" +import * as R from "ramda" import _ from "lodash" import { diff --git a/static/js/lib/dialog.js b/static/js/lib/dialog.js index f6ee69814..96fd755a0 100644 --- a/static/js/lib/dialog.js +++ b/static/js/lib/dialog.js @@ -1,5 +1,5 @@ // @flow -import R from "ramda" +import * as R from "ramda" export const PERM_CHOICE_NONE: string = "none" export const PERM_CHOICE_PUBLIC: string = "public" diff --git a/static/js/lib/sanctuary.js b/static/js/lib/sanctuary.js index 0e1e0b637..fc7254147 100644 --- a/static/js/lib/sanctuary.js +++ b/static/js/lib/sanctuary.js @@ -1,5 +1,5 @@ // @flow -import R from "ramda" +import * as R from "ramda" import { create, env } from "sanctuary" export const S = create({ checkTypes: false, env: env }) diff --git a/static/js/lib/sanctuary_test.js b/static/js/lib/sanctuary_test.js index 4a13223f7..7df22dbab 100644 --- a/static/js/lib/sanctuary_test.js +++ b/static/js/lib/sanctuary_test.js @@ -1,6 +1,6 @@ // @flow import { assert } from "chai" -import R from "ramda" +import * as R from "ramda" import { S, diff --git a/static/js/lib/validation.js b/static/js/lib/validation.js index ddb6eb469..ecc206eb9 100644 --- a/static/js/lib/validation.js +++ b/static/js/lib/validation.js @@ -1,5 +1,5 @@ // @flow -import R from "ramda" +import * as R from "ramda" import { S } from "./sanctuary" diff --git a/static/js/lib/video.js b/static/js/lib/video.js index 2fbea709d..e70b5b173 100644 --- a/static/js/lib/video.js +++ b/static/js/lib/video.js @@ -1,6 +1,6 @@ // @flow /* global SETTINGS: false */ -import R from "ramda" +import * as R from "ramda" import { VIDEO_STATUS_CREATED, diff --git a/static/js/reducers/collections.js b/static/js/reducers/collections.js index a66e437b5..5ef1f141a 100644 --- a/static/js/reducers/collections.js +++ b/static/js/reducers/collections.js @@ -1,6 +1,6 @@ // @flow import { GET, PATCH, POST, INITIAL_STATE } from "redux-hammock/constants" -import R from "ramda" +import * as R from "ramda" import * as api from "../lib/api" import type { Collection, CollectionList } from "../flow/collectionTypes" diff --git a/static/js/util/google_analytics.js b/static/js/util/google_analytics.js index b0f0aa0c1..22ef11705 100644 --- a/static/js/util/google_analytics.js +++ b/static/js/util/google_analytics.js @@ -1,7 +1,7 @@ // @flow /* global SETTINGS:false */ import ga from "react-ga" -import R from "ramda" +import * as R from "ramda" const makeGAEvent = (category, action, label, value) => ({ category: category, diff --git a/static/js/util/test_utils.js b/static/js/util/test_utils.js index 94d907c9c..59727c07d 100644 --- a/static/js/util/test_utils.js +++ b/static/js/util/test_utils.js @@ -2,7 +2,7 @@ // @flow import { assert } from "chai" import _ from "lodash" -import R from "ramda" +import * as R from "ramda" import type { Action } from "../flow/reduxTypes" import type { Store } from "redux" diff --git a/static/js/util/util.js b/static/js/util/util.js index cadd0ff37..2a76e303d 100644 --- a/static/js/util/util.js +++ b/static/js/util/util.js @@ -1,6 +1,6 @@ // @flow import { PERM_CHOICE_LISTS } from "../lib/dialog" -import R from "ramda" +import * as R from "ramda" export function getDisplayName(WrappedComponent: any) { return WrappedComponent.displayName || WrappedComponent.name || "Component"