Blame view

bower_components/Materialize/tests/helpers/helpers.js 241 Bytes
74249687   Luigi Serra   Cross browser con...
1
2
3
4
5
6
7
8
9
  function setupPage(pageName) {
  	return $.ajax('/tests/pages/' + pageName + '.html',{
  		async: false
  	}).then(function (html) {
  		document.getElementById('materialize-testing-container').innerHTML = html;
  	});
  }
  
  window.setupPage = setupPage;