Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

resets latedef outside vimeo #35

Merged
merged 1 commit into from

2 participants

@tomfuertes
Collaborator

Better theory for latedef in vimeo considering the concatenation that goes on

@eduardocereto eduardocereto merged commit 715c184 into CardinalPath:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 15, 2012
  1. @tomfuertes
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/vimeo.js
View
4 src/plugins/vimeo.js
@@ -9,8 +9,6 @@
* @author Eduardo Cereto <eduardocereto@gmail.com>
*/
- /*jshint latedef:false*/
-
var _vimeoTimeTriggers = [];
var _vimeoPoolMaps = {};
@@ -77,6 +75,7 @@ var _vimeoOpts;
* postMessage Listener
* @param {Object} event The Vimeo API return event.
*/
+/*jshint latedef:false*/
function _vimeoPostMessageListener(event) {
if (sindexOf.call(event.origin, '//player.vimeo.com') > -1) {
var data = JSON.parse(event.data);
@@ -95,6 +94,7 @@ function _vimeoPostMessageListener(event) {
}
}
+/*jshint latedef:true*/
/**
* Triggers the Vimeo Tracking on the page
Something went wrong with that request. Please try again.