This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="fellows" data-url="/fellows"> | |
<!-- list of fellows --> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Templatizer = new Class({ | |
Implements: [Options, Events], | |
options: { | |
templates: { | |
/* | |
name: instanceOfSubtleTemplate | |
*/ | |
}, | |
data: {} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
['get', 'post', 'put', 'delete'].each(function(method){ | |
methods[method] = methods[method.toUpperCase()] = function(){ | |
var params = Array.link(arguments, {url: String.type, data: $defined}); | |
return this.send($extend(params, {method: method})); | |
}; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* digitarald's, before */ | |
for (var i = 0, selector; (selector = parsed[i]); i++) { | |
var locate = locateCurrent; | |
if (selector.first) { | |
if (!results) locate = locateFast; | |
if (iterate) nodes = context; | |
else if (selector.combinator) nodes = [context]; // allows combinators before selectors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Script: Color.js | |
Class for creating and manipulating colors in JavaScript. Includes basic color manipulations and HSB <-> RGB <-> HEX Conversions. | |
License: | |
MIT-style license. | |
*/ | |
function Color(params){ | |
var ptype = $type(params); |
NewerOlder