At Freckle we’re using a lot of open source projects to provide the best possible service and the most cheerful time tracking application to you.
We also extract and share our own open source projects—here’s some of them as a gift back to the community and to you! 🙂
var Zepto = (function() {
var undefined, key, $, classList,
emptyArray = [], concat = emptyArray.concat,
filter = emptyArray.filter, slice = emptyArray.slice,
document = window.document,
elementDisplay = {}, classCache = {},
cssNumber = { 'column-count': 1, 'columns': 1, 'font-weight': 1, 'line-height': 1,'opacity': 1, 'z-index': 1, 'zoom': 1 },
fragmentRE = /^\s*(\w+|!)[^>]*>/,
singleTagRE = /^(\w+)\s*\/?>(?:\/\1>|)$/,
tagExpanderRE = /(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,
rootNodeRE = /^(?:body|html)$/i,
capitalRE = /([A-Z])/g,
Zepto.js
Zepto.js is our modular drop-in replacement for jQuery, with emphasize on small file size and fast loading, especially on mobile devices. It comes with a few extras for mobile development (such as tap, long-tap and swipe detection) and works on modern desktop and mobile browsers. We use it extensively on Freckle’s mobile web site, and it’s in use by a few other companies you might have heard of, like GitHub and 37signals.
URLcrypt
URLcrypt is a Ruby gem for securely encoding and decoding short pieces of arbitrary binary data in URLs. We use this to include the up-to-date mini-pulse in our weekly report emails that go directly to your inbox every Monday morning. If you’re interested in the technical details, read Thomas’ blog post on how get charts into emails you send.
Zaru
Zaru is an other Ruby gem, for filename sanitation. This is super useful when you generate filenames for downloadable things from user input. There’s other solutions out there, but those usually not work well with characters from non-latin alphabets. Zaru does, so it only removes characters in filenames that are not acceptable across major operating systems and leaves other things intact.
Ponymizer
Ponymizer is yet an other Ruby gem, this time something that generates not-boring test names for people, projects and so on.
Thank You!
A big thank-you goes out to all the contributors to our open source projects over the years! If you’re using one of our open source projects, we’d love to hear from you (just leave a comment)!
Meanwhile, we wish you super-cheerful holidays and a healthy & successful 2014!
