1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-09 11:42:28 +01:00

Output a helpful message in the JS console

This commit is contained in:
Chaoyi Zha 2016-10-11 22:47:43 -04:00
parent 6bc3fc6729
commit 2926409f13

View File

@ -10,5 +10,10 @@ function esc_selector(selector) {
return selector.replace( /(:|\.|\[|\]|,)/g, "\\$1" );
}
// Output helpful console message
console.log('%cPolr', 'font-size:5em;color:green');
console.log('%cNeed help? Open a ticket: https://github.com/cydrobolt/polr', 'color:blue');
console.log('%cDocs: https://docs.polr.me', 'color:blue');
// Set up Angular module
var polr = angular.module('polr',[]);