Skip to content

Instantly share code, notes, and snippets.

View rklancer's full-sized avatar

Richard Klancer rklancer

View GitHub Profile
...
introView: SC.StackedView.design({
layout: { top: 20, bottom: 20 },
childViews: [
SC.LabelView.design(SC.StaticLayout, {
useStaticLayout: YES,
classNames: ['append-to-me'],
escapeHTML: NO,
displayValue: "So, I'm a big ol' string of text. <br><br>And I'm another string of text."
})]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Raphael graphs</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="javascripts/raphael/raphael.js"></script>
<link rel="stylesheet" href="stylesheets/apidocs.css">
/*globals $ Raphael */
// make these accessible at the Firebug/Web Inspector console
var r, group;
$(function () {
var notHighlighted = {
stroke: "#aaaaaa",
fill: "#aaaaaa"
/*globals $ Raphael */
// make these accessible at the Firebug/Web Inspector console
var r, group;
$(function () {
var notHighlighted = {
stroke: "#aaaaaa",
fill: "#aaaaaa"
module("Smartgraphs.questionSequenceController question-sequence navigation", {
setup: function () {
Smartgraphs.Question.FIXTURES = [
SC.mixin(SC.copy(qhash), {guid: 'q1', sequence: 'test-sequence-1'}),
SC.mixin(SC.copy(qhash), {guid: 'q2', sequence: 'test-sequence-2'})
];
Smartgraphs.QuestionSequence.FIXTURES = [
{ guid: 'test-sequence-1', questions: ['q1'] },
{ guid: 'test-sequence-2', questions: ['q2'] }
(function(){
var DEBUG = false;
var doPost = false;
try {
doPost = !!window.top.postMessage;
} catch(e){}
#/bin/bash
# get the commit #
export COMMIT_HASH=`git log -1 --format=%H`
# set up RVM and use our gemset
if [[ -s /home/maven/.rvm/scripts/rvm ]] ; then source /home/maven/.rvm/scripts/rvm ; fi
rvm 1.9.1@raphael_views
# setup raphael-git. Include the --recursive in case we end up adding submodules that have their own submodules
/* @group Core */
body.sc-doc {
background-color: white ;
padding: 20px;
}
.sc-doc {
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
var g = require('./garcon/lib/garçon'),
server, myApp;
// create a server which will listen on port 8000 by default
server = new g.Server();
// adding an application named 'myapp' tells the server to respond to
// the /myapp url and to create a myapp.html file when saving
myApp = server.addApp({
name: 'geniverse',
theme: 'sc-theme',
proxying to garcon:
/geniverse
proxying to geniverse.dev.concord.org:
/geniverse/geniverse/organism
proxying to geniverse.dev.concord.org:
/geniverse/geniverse/organism
proxying to garcon:
/1282914649515/sproutcore/animation.css
proxying to garcon:
/1282914649515/sproutcore/desktop.css