MCPcopy Create free account
hub / github.com/Phlow/feeling-responsive / header_helpers

Function header_helpers

assets/js/javascript.js:47–56  ·  view source on GitHub ↗
(class_array)

Source from the content-addressed store, hash-verified

45 'use strict';
46
47 var header_helpers = function (class_array) {
48 var i = class_array.length;
49 var head = $('head');
50
51 while (i--) {
52 if(head.has('.' + class_array[i]).length === 0) {
53 head.append('<meta class="' + class_array[i] + '" />');
54 }
55 }
56 };
57
58 header_helpers([
59 'foundation-mq-small',

Callers 1

javascript.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected