Reworked Admin JS with ES6

This commit is contained in:
Djamil Legato
2016-02-01 11:27:34 -08:00
parent c62fb6bdb5
commit 35fa588438
85 changed files with 31905 additions and 824 deletions

4
themes/grav/app/utils/jquery-utils.js vendored Normal file
View File

@@ -0,0 +1,4 @@
import $ from 'jquery';
// jQuery no parents filter
$.expr[':']['noparents'] = $.expr.createPseudo((text) => (element) => $(element).parents(text).length < 1);