Skip to content

Instantly share code, notes, and snippets.

/*
Script: Core.js
Examples for Core.js
License:
MIT-style license.
*/
describe('Function.prototype.extend', {
/* XML Methods for MooTools */
/* Requires MooTools v1.3 */
var XML = {
rootFromFile: function(file){
var root = null;
switch (Browser.name){
case 'safari':
case 'chrome':
@keeto
keeto / Element.insertHTML.js
Created December 2, 2011 15:37
Element.insertHTML
/*
---
name: Element.injectHTML
description: Wrapper/polyfill around insertAdjacentHTML.
license: MIT-style license
copyright: Copyright (c) 2011 Mark Obcena <keetology.com>
@keeto
keeto / vim.rb
Created May 13, 2012 10:55 — forked from uasi/vim.rb
Vim formula for Homebrew
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2'
head 'https://vim.googlecode.com/hg/'
sha256 '5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d'
version '7.3.480'
def features; %w(tiny small normal big huge) end