Skip to content

Commit

Permalink
lint, check-types fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshay committed May 30, 2017
1 parent 0aa5809 commit 83a10ec
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
Expand Up @@ -15,7 +15,11 @@
*/

import {AmpViewerIntegration} from '../amp-viewer-integration';
import {Messaging, WindowPortEmulator, parseMessage} from '../messaging.js';
import {
Messaging,
WindowPortEmulator,
parseMessage,
} from '../messaging/messaging.js';
import {ViewerForTesting} from './viewer-for-testing.js';
import {getSourceUrl} from '../../../../src/url';

Expand Down
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import {Messaging} from '../messaging';
import {Messaging} from '../messaging/messaging';
import {TouchHandler} from '../touch-handler';
import * as sinon from 'sinon';

Expand Down
Expand Up @@ -15,7 +15,7 @@
*/

import {parseUrl, serializeQueryString} from '../../../../src/url';
import {Messaging} from '../messaging';
import {Messaging} from '../messaging/messaging';

const APP = '__AMPHTML__';
const MessageType = {
Expand Down
4 changes: 2 additions & 2 deletions extensions/amp-viewer-integration/0.1/touch-handler.js
Expand Up @@ -49,12 +49,12 @@ export class TouchHandler {

/**
* @param {!Window} win
* @param {!./messaging.Messaging} messaging
* @param {!./messaging/messaging.Messaging} messaging
*/
constructor(win, messaging) {
/** @const {!Window} */
this.win = win;
/** @const @private {!./messaging.Messaging} */
/** @const @private {!./messaging/messaging.Messaging} */
this.messaging_ = messaging;
/**
* When true, prevent default to prevent scrolling.
Expand Down

0 comments on commit 83a10ec

Please sign in to comment.