Skip to content

Instantly share code, notes, and snippets.

Alexander Dimitrov adimitrov

  • Sofia, Bulgaria
Block or report user

Report or block adimitrov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@adimitrov
adimitrov / rAF.js
Created Oct 29, 2012 — forked from paulirish/rAF.js
requestAnimationFrame polyfill
View rAF.js
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller
// fixes from Paul Irish and Tino Zijdel
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {
@adimitrov
adimitrov / x-editable-pikaday.js
Created Feb 19, 2013
Simple plugin for x-editable for using pikaday datepicker.
View x-editable-pikaday.js
(function ($) {
var PikadayEditable = function (options) {
this.init('pikaday', options, PikadayEditable.defaults);
};
$.fn.editableutils.inherit(PikadayEditable, $.fn.editabletypes.abstractinput);
$.extend(PikadayEditable.prototype, {
render: function () {
@adimitrov
adimitrov / Gemfile
Last active Dec 20, 2015
Jira Authentication for Rails Admin Panel
View Gemfile
gem 'crowd_rest'
gem "twitter-bootstrap-rails"
You can’t perform that action at this time.