Skip to content

Commit

Permalink
🧪Remove linker-form experiment (#20977)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcordry committed Feb 21, 2019
1 parent 7b11a49 commit 87c893f
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions extensions/amp-analytics/0.1/linker-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {addMissingParamsToUrl, addParamToUrl} from '../../../src/url';
import {createElementWithAttributes} from '../../../src/dom';
import {createLinker} from './linker';
import {dict} from '../../../src/utils/object';
import {isExperimentOn} from '../../../src/experiments';
import {isObject} from '../../../src/types';
import {user} from '../../../src/log';

Expand Down Expand Up @@ -119,7 +118,7 @@ export class LinkerManager {
}


this.maybeEnableFormSupport_();
this.enableFormSupport_();

return Promise.all(this.allLinkerPromises_);
}
Expand Down Expand Up @@ -311,18 +310,6 @@ export class LinkerManager {
return true;
}

/**
* Enable form support if experiment is on.
* TODO(ccordry): remove this method and use `enableFormSupport_` when fully
* launched.
* @private
*/
maybeEnableFormSupport_() {
if (isExperimentOn(this.ampdoc_.win, 'linker-form')) {
this.enableFormSupport_();
}
}

/**
* Register callback that will handle form sumbits.
*/
Expand Down

0 comments on commit 87c893f

Please sign in to comment.