./lib/helios/frontend/javascripts/vendor/foundation/foundation.placeholder.js in helios-0.3.0 vs ./lib/helios/frontend/javascripts/vendor/foundation/foundation.placeholder.js in helios-0.4.0

- old
+ new

@@ -154,6 +154,26 @@ } else { $input.removeClass('placeholder'); } } -}(this, document, Foundation.zj)); +}(this, document, Foundation.zj)); + +;(function ($, window, document, undefined) { + 'use strict'; + + Foundation.libs.placeholder = { + name : 'placeholder', + + version : '4.2.2', + + init : function (scope, method, options) { + this.scope = scope || this.scope; + + if (typeof method !== 'string') { + window.onload = function () { + $('input, textarea').placeholder(); + } + } + } + }; +}(Foundation.zj, this, this.document)); \ No newline at end of file