Skip to content

Instantly share code, notes, and snippets.

View devellopah's full-sized avatar

Islam Ibakaev devellopah

  • 22:03 (UTC +03:00)
View GitHub Profile
@devellopah
devellopah / bling.js
Created July 28, 2017 01:25 — forked from paulirish/bling.js
bling dot js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
}
NodeList.prototype.__proto__ = Array.prototype;
  • Alignment
  • ApplySyntax
  • AutoBackups
  • BracketGuard
  • BracketHighlighter
  • Case Conversion
  • Color Highlighter
  • ColorPicker
  • ColorSchemeSelector
  • Console Wrap for js
'use strict'; // avoid ambiguity and sloppy errors
/**
* Tests whether or not a given string is a Palindrome
* @param {string} stringToTest - the string to test.
*/
function isPalindrome(stringToTest) {
var start = 0,
end;