Skip to content

Commit

Permalink
Merge pull request ampproject#942 from dvoytenko/vsynctop
Browse files Browse the repository at this point in the history
Ensure vsync is instantiated before extensions
  • Loading branch information
dvoytenko committed Nov 16, 2015
2 parents 184cd57 + df39481 commit d82e2a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/amp.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
import './polyfills';

import {historyFor} from './history';
import {viewerFor} from './viewer';
import {installPullToRefreshBlocker} from './pull-to-refresh';
import {performanceFor} from './performance';
import {viewerFor} from './viewer';
import {vsyncFor} from './vsync';

import {installAd} from '../builtins/amp-ad';
import {installGlobalClickListener} from './document-click';
Expand Down Expand Up @@ -47,6 +48,7 @@ try {
try {
historyFor(window);
viewerFor(window);
vsyncFor(window);

installImg(window);
installAd(window);
Expand Down

0 comments on commit d82e2a0

Please sign in to comment.