Skip to content

Instantly share code, notes, and snippets.

Richard Peterson richardcpeterson

Block or report user

Report or block richardcpeterson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@richardcpeterson
richardcpeterson / bug.html
Created Mar 20, 2012
Some kind of bug in my rope sim
View bug.html
<!doctype html>
<html>
<head>
<script src="traer.js"></script>
<script>
/************************************ JSBUG ************************************
*
* SpiderMonkey bug description
*
@richardcpeterson
richardcpeterson / object-select.js
Created Sep 9, 2011
JavaScript function to select from array of objects
View object-select.js
function select (a) {
return {
from : function (b) {
return {
where : function (c) {
return {
equals : function (d) {
var foo = [];
for (prop in b){
if (b[prop][c] == d){
You can’t perform that action at this time.