Strict mode is supported by 98% of the browsers, including Internet Explorer 10, and it helps developers avoid common JavaScript pitfalls.
9 lines
166 B
CoffeeScript
9 lines
166 B
CoffeeScript
"use strict"
|
|
|
|
App.EmbedVideo =
|
|
|
|
initialize: ->
|
|
$("#js-embedded-video").each ->
|
|
code = $(this).data("video-code")
|
|
$("#js-embedded-video").html(code)
|