((plugin) ->
if typeof define is "function" and define.amd
define "lazyload", ["jslib", "core", "header"], plugin
else
plugin @$
).call this, lazyload = ($, _) ->
"use strict"
CDN_PATH = "//cdnjs.cloudflare.com/ajax/libs"
CDN_PATH = "http:" + CDN_PATH if not window.location.protocol.match("http")
class LazyLoad
@load: () ->
Lazy loading plugin
Loads additional heavy libraries when they are used
requires: jQuery or Zepto DOM library
author: Julien Ramboz
version: 1.0