Skip to content

Commit

Permalink
[Migration] Update coffeescript /v2 paths to relative
Browse files Browse the repository at this point in the history
  • Loading branch information
damassi committed May 22, 2020
1 parent 2fd98a5 commit d35c60e
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/desktop/apps/about/client/view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ zoom = require '../../../components/zoom/index.coffee'
openFeedback = require '../../../components/simple_contact/feedback.coffee'
Cycle = require '../../../components/cycle/index.coffee'
{ openAuthModal } = require '../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../v2/Components/Authentication/Types"
{ Intent, ContextModule } = require "@artsy/cohesion"

module.exports = class AboutView extends Backbone.View
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/apps/auctions/client/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ MyActiveBids = require '../../../components/my_active_bids/view.coffee'
CurrentUser = require '../../../models/current_user.coffee'
myActiveBidsTemplate = -> require('../templates/my_active_bids.jade') arguments...
{ openAuthModal } = require '../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../v2/Components/Authentication/Types"
{ Intent, ContextModule } = require "@artsy/cohesion"

setupClocks = ($clocks, auctions) ->
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/apps/fair/components/browse/router.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FairBrowseView = require './view.coffee'
{ signupSuccess, validActions } = require '../capture_signup/index.coffee'
CurrentUser = require '../../../../models/current_user.coffee'
{ openAuthModal } = require '../../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../../v2/Components/Authentication/Types"
{ Intent, ContextModule } = require "@artsy/cohesion"

module.exports = class BrowseRouter extends Backbone.Router
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/apps/fairs/client/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metaphysics = require '../../../../lib/metaphysics.coffee'
ViewHelpers = require '../helpers/view_helpers.coffee'
query = require '../query.coffee'
{ openAuthModal } = require '../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../v2/Components/Authentication/Types"
{ Following, FollowButton } = require '../../../components/follow_button/index.coffee'
{ Intent, ContextModule } = require "@artsy/cohesion"

Expand Down
2 changes: 1 addition & 1 deletion src/desktop/apps/feature/client/view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ArtworkColumnsView = require '../../../components/artwork_columns/view.coffee'
artworkColumns = -> require('../../../components/artwork_columns/template.jade') arguments...
setsTemplate = -> require('../templates/sets.jade') arguments...
{ openAuthModal } = require '../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../v2/Components/Authentication/Types"
{ Intent } = require "@artsy/cohesion"

module.exports = class FeatureView extends Backbone.View
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/apps/home/client/hero_unit_view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _ = require 'underscore'
Backbone = require 'backbone'
imagesLoaded = require 'imagesloaded'
{ openAuthModal } = require '../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../v2/Components/Authentication/Types"
{ Intent, ContextModule } = require "@artsy/cohesion"

module.exports = class HeroUnitView extends Backbone.View
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/apps/how_auctions_work/client/index.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
multiPageView = require '../../../components/multi_page/index.coffee'
{ openAuthModal } = require '../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../v2/Components/Authentication/Types"
{ Intent } = require "@artsy/cohesion"

module.exports.init = ->
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/apps/inquiry/client/routes/development.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ EmbeddedInquiryView = require '../../../../components/embedded_inquiry/view.coff
openInquiryQuestionnaireFor = require '../../../../components/inquiry_questionnaire/index.coffee'
Logger = require '../../../../components/logger/index.coffee'
{ openAuthModal } = require '../../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../../v2/Components/Authentication/Types"
{ Intent } = require "@artsy/cohesion"

module.exports = ->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Backbone = require 'backbone'
analyticsHooks = require '../../../../../lib/analytics_hooks.coffee'
{ openAuthModal } = require '../../../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../../../v2/Components/Authentication/Types"
{ Intent } = require "@artsy/cohesion"

module.exports = class SaveControls extends Backbone.View
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/assets/analytics.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ window._ = require 'underscore'
window.Cookies = require 'cookies-js'

PublishingEvents = require('@artsy/reaction/dist/Utils/Events.js').default
ReactionEvents = require('v2/Utils/Events').default
ReactionEvents = require('../../v2/Utils/Events').default

# All Force mediator events can be hooked into for tracking purposes
mediator.on 'all', (name, data) ->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Backbone = require 'backbone'
analyticsHooks = require '../../../lib/analytics_hooks.coffee'
{ openAuthModal } = require '../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../v2/Components/Authentication/Types"
{ Intent } = require "@artsy/cohesion"

module.exports = class SaveControls extends Backbone.View
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sd = require('sharify').data
Backbone = require 'backbone'
ContactPartnerView = require '../../contact/contact_partner.coffee'
{ openAuthModal } = require '../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../v2/Components/Authentication/Types"
{ Intent } = require "@artsy/cohesion"

module.exports = class SaleArtworkView extends Backbone.View
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/components/artwork_save/view.coffee
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Backbone = require 'backbone'
analyticsHooks = require '../../lib/analytics_hooks.coffee'
{ openAuthModal } = require '../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../v2/Components/Authentication/Types"
{ Intent } = require "@artsy/cohesion"

module.exports = class ArtworkSaveView extends Backbone.View
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/components/auction_artwork_brick/view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Backbone = require 'backbone'
{ CURRENT_USER } = require('sharify').data
ArtworkSaveView = require '../artwork_save/view.coffee'
{ openAuthModal } = require '../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../v2/Components/Authentication/Types"
{ Intent } = require "@artsy/cohesion"

module.exports = class AuctionArtworkBrickView extends Backbone.View
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/components/auction_artworks/view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Backbone = require 'backbone'
State = require './models/state.coffee'
ContactPartnerView = require '../contact/contact_partner.coffee'
{ openAuthModal } = require '../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../v2/Components/Authentication/Types"
{ Intent } = require "@artsy/cohesion"

template = -> require('./templates/index.jade') arguments...
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/components/auction_lots/client/view.coffee
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Backbone = require 'backbone'
zoom = require '../../../components/zoom/index.coffee'
{ openAuthModal } = require '../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../v2/Components/Authentication/Types"
CurrentUser = require '../../../models/current_user.coffee'
{ isTouchDevice } = require '../../../components/util/device.coffee'
FillwidthView = require '../../../components/fillwidth_row/view.coffee'
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/components/fair_layout/client/header.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sd = require('sharify').data
Profile = require '../../../models/profile.coffee'
Fair = require '../../../models/fair.coffee'
{ openAuthModal } = require '../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../v2/Components/Authentication/Types"
CurrentUser = require '../../../models/current_user.coffee'
FlashMessage = require '../../flash/index.coffee'
{ Intent, ContextModule } = require "@artsy/cohesion"
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/components/follow_button/view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ analyticsHooks = require '../../lib/analytics_hooks.coffee'
ArtistSuggestions = require './artist_suggestions.coffee'
{ ARTIST_PAGE_CTA_ENABLED } = require('sharify').data
{ openAuthModal } = require '../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../v2/Components/Authentication/Types"
{ Intent } = require "@artsy/cohesion"

module.exports = class FollowButton extends Backbone.View
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ templates =
register: -> require('../templates/account/register.jade') arguments...
login: -> require('../templates/account/login.jade') arguments...
forgot: -> require('../templates/account/forgot.jade') arguments...
{ recaptcha } = require "v2/Utils/recaptcha"
{ recaptcha } = require "../../../../v2/Utils/recaptcha"

mediator = require('../../../lib/mediator.coffee')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ alertable = require '../../alertable_input/index.coffee'
hasSeen = require '../../has_seen/index.coffee'
sd = require('sharify').data
template = -> require('../templates/inquiry.jade') arguments...
{ recaptcha } = require "v2/Utils/recaptcha"
{ recaptcha } = require "../../../../v2/Utils/recaptcha"

module.exports = class Inquiry extends StepView

Expand Down
2 changes: 1 addition & 1 deletion src/desktop/components/main_layout/footer/view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mediator = require '../../../lib/mediator.coffee'
openFeedbackModal = require '../../feedback_modal/index.coffee'
openMultiPageModal = require '../../multi_page_modal/index.coffee'
{ openAuthModal } = require '../../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../../v2/Components/Authentication/Types"
{ setupRail, shouldShowRVARail, reInitRVARail } = require '../../recently_viewed_artworks/index.coffee'
{ Intent, ContextModule } = require "@artsy/cohesion"

Expand Down
2 changes: 1 addition & 1 deletion src/desktop/components/save_button/view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Backbone = require 'backbone'
analyticsHooks = require '../../lib/analytics_hooks.coffee'
{ modelNameAndIdToLabel } = require '../../lib/analytics_helpers.coffee'
{ openAuthModal } = require '../../lib/openAuthModal'
{ ModalType } = require "v2/Components/Authentication/Types"
{ ModalType } = require "../../../v2/Components/Authentication/Types"
{ Intent } = require "@artsy/cohesion"

module.exports = class SaveButton extends Backbone.View
Expand Down

0 comments on commit d35c60e

Please sign in to comment.