Skip to content

Commit

Permalink
resolving merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshay committed Feb 21, 2017
1 parent 06a605a commit 949c474
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions extensions/amp-viewer-integration/0.1/amp-viewer-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,10 @@
* limitations under the License.
*/

<<<<<<< HEAD
import {Messaging, WindowPortEmulator} from './messaging.js';
import {getAmpDoc} from '../../../src/ampdoc';
import {isIframed} from '../../../src/dom';
=======
import {Messaging, WindowPortEmulator} from './messaging';
import {TouchHandler} from './touch_handler';
import {viewerForDoc} from '../../../src/viewer';
>>>>>>> touch_handler
import {getAmpDoc} from '../../../src/ampdoc';
import {isIframed} from '../../../src/dom';
import {listen, listenOnce} from '../../../src/event-helper';
import {dev} from '../../../src/log';
import {getSourceUrl} from '../../../src/url';
Expand Down Expand Up @@ -132,20 +127,12 @@ export class AmpViewerIntegration {

/**
* @param {!../../../src/service/viewer-impl.Viewer} viewer
<<<<<<< HEAD
* @param {!../../../src/service/ampdoc-impl.AmpDoc} ampdoc
* @param {!Messaging} messaging
* @return {!Promise<undefined>}
* @private
*/
openChannelAndStart_(viewer, ampdoc, messaging) {
=======
* @return {!Promise<undefined>}
* @private
*/
openChannelAndStart_(viewer, port) {
const messaging = new Messaging(this.win, port);
>>>>>>> touch events
dev().fine(TAG, 'Send a handshake request');
const ampdocUrl = ampdoc.getUrl();
const srcUrl = getSourceUrl(ampdocUrl);
Expand Down

0 comments on commit 949c474

Please sign in to comment.