Skip to content

Commit

Permalink
Merge pull request mickey#6 from pdebruic/spelling
Browse files Browse the repository at this point in the history
fixed minor spelling issue in videojs.ga.coffee
  • Loading branch information
mickey committed Feb 11, 2014
2 parents 48dac79 + b38a11f commit e6f82ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/videojs.ga.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/videojs.ga.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/videojs.ga.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ videojs.plugin 'ga', (options) ->
parsedOptions = JSON.parse(@options()["data-setup"])
dataSetupOptions = parsedOptions.ga if parsedOptions.ga

deafultsEventsToTrack = [
defaultsEventsToTrack = [
'loaded', 'percentsPlayed', 'start', 'srcType'
'end', 'seek', 'play', 'pause', 'resize',
'volumeChange', 'error', 'fullscreen'
]
eventsToTrack = options.eventsToTrack || dataSetupOptions.eventsToTrack || deafultsEventsToTrack
eventsToTrack = options.eventsToTrack || dataSetupOptions.eventsToTrack || defaultsEventsToTrack
percentsPlayedInterval = options.percentsPlayedInterval || dataSetupOptions.percentsPlayedInterval || 10

eventCategory = options.eventCategory || dataSetupOptions.eventCategory || 'Video'
Expand Down

0 comments on commit e6f82ed

Please sign in to comment.