Skip to content

Commit a8eafca

Browse files
author
FezVrasta
committed
re-implemented arrive.js
1 parent c26d5e3 commit a8eafca

5 files changed

Lines changed: 16 additions & 5 deletions

File tree

dist/js/material.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,13 @@
105105
this.input();
106106
this.checkbox();
107107
this.radio();
108+
109+
if (document.arrive) {
110+
document.arrive("input, textarea, select", function() {
111+
$.material.init();
112+
});
113+
}
108114
}
109115
};
116+
110117
})(jQuery);

dist/js/material.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/material.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,13 @@
105105
this.input();
106106
this.checkbox();
107107
this.radio();
108+
109+
if (document.arrive) {
110+
document.arrive("input, textarea, select", function() {
111+
$.material.init();
112+
});
113+
}
108114
}
109115
};
116+
110117
})(jQuery);

template/material/js/material.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,3 @@
108108
}
109109
};
110110
})(jQuery);
111-
112-
//$.material.init();
113-

template/material/js/material.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)