Skip to content

Instantly share code, notes, and snippets.

@jstrimpel
Created August 28, 2014 23:38
Show Gist options
  • Save jstrimpel/e48f42ab151e1511fded to your computer and use it in GitHub Desktop.
Save jstrimpel/e48f42ab151e1511fded to your computer and use it in GitHub Desktop.
lazo - set html and body tag class
define(['lazoApp'], function (App) {
'use strict;
return App.extend({
initialize: function (callback) {
var html = '<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]--><html lang="en">';
LAZO.app.setHtmlTag(html);
LAZO.app.setBodyClass('some-class another-class');
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment