Skip to content

Commit

Permalink
Formatting adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelauritsen committed Jul 19, 2024
1 parent 873dc20 commit fde3ac6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/layout/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,23 @@
const MEDIA_QUERY = window.matchMedia('(max-width: 1024px)');
MEDIA_QUERY.onchange = screenSizeHandler;

/**
* Class constructor for Layout MDL component.
* Implements MDL component design pattern defined at:
* https://github.com/jasonmayes/mdl-component-design-pattern
*
* @constructor
* @param {HTMLElement} element The element that will be upgraded.
*/
var MaterialLayout = function MaterialLayout(element) {
this.element_ = element;

// Initialize instance.
this.init();
};
window['MaterialLayout'] = MaterialLayout; /**
window['MaterialLayout'] = MaterialLayout;

/**
* Store constants in one place so they can be updated easily.
*
* @enum {string | number}
Expand Down

0 comments on commit fde3ac6

Please sign in to comment.