PHP Classes

File: resources/assets/js/base.js

Recommend this page to a friend!
  Classes of Thierry Feuzeu   Polr Admin Dashboard   resources/assets/js/base.js   Download  
File: resources/assets/js/base.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Polr Admin Dashboard
Another admin dashboard for the Polr URL shortener
Author: By
Last change:
Date: 6 years ago
Size: 723 bytes


Class file image Download
// Escape jQuery selectors function esc_selector(selector) { return selector.replace( /(:|\.|\[|\]|,)/g, "\\$1" ); } jQuery.fn.clearForm = function() { // $(this).find('input').not(':button, :submit, :reset, :hidden') .val('') .removeAttr('checked') .removeAttr('selected'); return this; }; // Output helpful console message // console.log('%cPolr', 'font-size:5em;color:green'); // console.log('%cNeed help? Open a ticket:', 'color:blue'); // console.log('%cDocs:', 'color:blue'); //Set up the Polr object var polr = { home: {}, stats: {} };