Skip to content

Commit

Permalink
Register experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
alanorozco committed Jan 19, 2018
1 parent 26488aa commit 6003550
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/amp-story/0.1/page-scaling.js
Expand Up @@ -209,7 +209,8 @@ export class PageScalingService {
} else if (Services.platformFor(win).isFirefox()) {
// Firefox does not support `zoom`.
// TODO(alanorozco): Use `scale` on Firefox.
user().warn('`amp-story-scaling` ignored: Firefox is not supported.');
user().warn('AMP-STORY',
'`amp-story-scaling` ignored: Firefox is not supported.');
pageScalingService = MOCK_PAGE_SCALING_SERVICE;
} else {
pageScalingService = new PageScalingService(win, story);
Expand Down
6 changes: 6 additions & 0 deletions tools/experiments/experiments.js
Expand Up @@ -269,6 +269,12 @@ const EXPERIMENTS = [
spec: 'https://github.com/ampproject/amphtml/issues/11329',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/11475',
},
{
id: 'amp-story-scaling',
name: 'Enables dynamic page scaling in amp-story',
spec: 'https://github.com/ampproject/amphtml/issues/12902',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/12902',
},
{
id: 'disable-amp-story-desktop',
name: 'Disables responsive desktop experience for the amp-story component',
Expand Down

0 comments on commit 6003550

Please sign in to comment.