Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Lint
  • Loading branch information
processprocess authored Nov 16, 2021
commit ff36d992da2d072597a73a03b3e7ea536393e02d
4 changes: 1 addition & 3 deletions extensions/amp-story-360/0.1/amp-story-360.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* For local development, run amp --host="192.168.44.47" --https --extensions=amp-story-360
*/

import * as Preact from '#core/dom/jsx';
import {CommonSignals_Enum} from '#core/constants/common-signals';
import {whenUpgradedToCustomElement} from '#core/dom/amp-element-helpers';
import * as Preact from '#core/dom/jsx';
import {applyFillContent, isLayoutSizeDefined} from '#core/dom/layout';
import {closest} from '#core/dom/query';

Expand Down Expand Up @@ -47,7 +47,6 @@ const MIN_WEBGL_DISTANCE = 2;

/**
* Renders the template for the permission button.
* @param {!Element} element
* @return {!Element}
*/
const renderActivateButtonTemplate = () => (
Expand Down Expand Up @@ -93,7 +92,6 @@ const renderActivateButtonTemplate = () => (
* NOTE: i-amphtml-story-360-discovery is used in maybeShowDiscoveryAnimation_
* and must be changed in both places if updated.
*
* @param {!Element} element
* @return {!Element}
*/
const renderDiscoveryTemplate = () => (
Expand Down