Skip to content

Instantly share code, notes, and snippets.

View TheBronx's full-sized avatar
🏠
Working from home

Salva TheBronx

🏠
Working from home
View GitHub Profile
describe('PhoneListCtrl', function(){
it('should create "phones" model with 3 phones', function() {
var scope = {},
ctrl = new PhoneListCtrl(scope);
expect(scope.phones.length).toBe(3);
});
});
@TheBronx
TheBronx / FeedlyCenteredSlider.user.js
Last active March 16, 2017 11:58
Centers the new slider on Feedly
// ==UserScript==
// @name Feedly Centered Slider
// @namespace http://salvatorelab.es
// @version 2.0
// @description Centers the slider on Feedly
// @match http://feedly.com/*
// @grant GM_addStyle
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js
// ==/UserScript==