Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Install js dependencies
run: yarn --frozen-lockfile

- run: 'yarn lint --max-warnings 44 > /dev/null'
- run: 'yarn lint --max-warnings 43 > /dev/null'

- run: yarn pretty

Expand Down
5 changes: 3 additions & 2 deletions app/Http/Controllers/Store/CheckoutController.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ public function store()
return ujs_redirect(route('store.cart.show'));
}

if ($params['hide_from_activity'] !== null) {
$order->setGiftsHidden($params['hide_from_activity']);
$hideFromActivity = $params['hide_from_activity'];
if ($hideFromActivity) {
$order->setGiftsHidden($hideFromActivity);
}

$checkout = new OrderCheckout($order, $params['provider'], $params['shopifyCheckoutId']);
Expand Down
66 changes: 0 additions & 66 deletions resources/js/core-legacy/store-checkout.coffee

This file was deleted.

4 changes: 2 additions & 2 deletions resources/js/entrypoints/store-bootstrap.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

import { Store } from 'store';
import Store from 'store';

Store.init(window);
Store.init();
2 changes: 0 additions & 2 deletions resources/js/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import Menu from 'core-legacy/menu'
import NavButton from 'core-legacy/nav-button'
import Nav2 from 'core-legacy/nav2'
import Search from 'core-legacy/search'
import { StoreCheckout } from 'core-legacy/store-checkout'
import TooltipDefault from 'core-legacy/tooltip-default'
import { navigate } from 'utils/turbolinks'

Expand All @@ -39,7 +38,6 @@ jQuery.timeago.inWords = (distanceMillis) ->

$(document).on 'turbo:load', ->
BeatmapPack.initialize()
StoreCheckout.initialize()

window.bbcodePreview ?= new BbcodePreview
window.checkboxValidation ?= new CheckboxValidation
Expand Down
17 changes: 0 additions & 17 deletions resources/js/shopify-client.ts

This file was deleted.

6 changes: 0 additions & 6 deletions resources/js/shopify-gid.ts

This file was deleted.

12 changes: 0 additions & 12 deletions resources/js/store-paypal.coffee

This file was deleted.

40 changes: 0 additions & 40 deletions resources/js/store-xsolla.coffee

This file was deleted.

184 changes: 0 additions & 184 deletions resources/js/store.ts

This file was deleted.

Loading