Skip to content

Instantly share code, notes, and snippets.

(function() {
window.Loader = function(parent, options) {
this.global = options.global || {};
this.baseURL = options.baseURL || parent.baseUrl;
this._parent = parent || null;
this._strict = options.strict || false;
this.normalize = options.normalize || parent.normalize;
this.resolve = options.resolve || parent.resolve;
@guybedford
guybedford / gist:4604409
Last active December 11, 2015 12:58 — forked from lightjs/gist:4604334
var GETSET = {
_extend: {
properties: 'IGNORE'
},
addProperty: function(p, startVal) {
var curVal = startVal;
this[p] = function(val) {
if (arguments.length)
curVal = val;
else
#!/bin/bash
# Download Drush v3 from D.O and make it work on `drush` (OS X / Linux / *nix)
# Written by stemount, adapted by KarenS
# Last updated by Drupalise IT (http://drupalise.it) on 13 Sep 2010
# Update user
echo "Drush is now downloading via HTTP"
# move to home dir