This commit is contained in:
FezVrasta 2014-11-12 11:42:40 +01:00
parent c4beecc15e
commit b993d0851c

View File

@ -1,9 +1,17 @@
/* Copyright 2014+, Federico Zivolo, LICENSE at https://github.com/FezVrasta/bootstrap-material-design/blob/master/LICENSE.md */
/* globals CustomEvent */
window.ripples = {
done: false,
init : function(withRipple) {
"use strict";
if (this.done) {
return console.log("Ripples.js was already initialzied.");
}
this.done = true;
// Cross browser matches function
function matchesSelector(domElement, selector) {
var matches = domElement.matches ||