• This project
    • Loading...
  • Sign in

Bruno / adb

Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • adb
  • ..
  • test
  • helpers.js
  • Bruno's avatar
    Upload adminBuilder md-layout-1 · 3f733922
    3f733922 Browse Files
    Bruno authored 2016-03-28 13:46:56 +0200
helpers.js 333 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
( function() {

'use strict';

// ----- default layout mode ----- //
Isotope.defaults.layoutMode = 'fitRows';

// ----- getText ----- //
var docElem = document.documentElement;

window.getText = docElem.textContent ?
  function( elem ) {
    return elem.textContent;
  } :
  function( elem ) {
    return elem.innerText;
  };

})();