This file contains hidden or 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
| // the following is from an ArrayController whose content is a set of Pages; the TreeController's content property is bound to this property: | |
| outline: function () { | |
| var contentLength = this.getPath('content.length') || 0; | |
| return contentLength === 0 ? null : SC.Object.create({ | |
| title: 'toplevel', | |
| treeItemIsExpanded: YES, | |
| pages: this.map( function (page) { return page; } ), | |
| treeItemChildren: this.map( function (page) { |
This file contains hidden or 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
| // Author: Richard Klancer <rpk@pobox.com> | |
| /*globals module test ok equals same stop start */ | |
| module("SC.ObserverSet.getMethods() removal", { | |
| setup: function () { | |
| SC.LOG_OBSERVERS = YES; | |
| }, | |
| teardown: function () { | |
| SC.LOG_OBSERVERS = NO; |
This file contains hidden or 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
| // Author: Richard Klancer <rpk@pobox.com> | |
| /*globals module test ok equals same stop start */ | |
| module("Problematic SC.ObserverSet.getMethods() removal", { | |
| setup: function () { | |
| SC.LOG_OBSERVERS = YES; | |
| }, | |
| teardown: function () { | |
| SC.LOG_OBSERVERS = NO; |
This file contains hidden or 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
| // ========================================================================== | |
| // Project: afterPropertyChange | |
| // Copyright: ©2010 Concord Consortium | |
| // @author: Richard Klancer <rpk@pobox.com> | |
| // ========================================================================== | |
| /*globals ok equals stop start pushStop popStart */ | |
| /* | |
| afterPropertyChange: |
This file contains hidden or 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
| [submodule "sproutcore-examples"] | |
| path = sproutcore-examples | |
| url = git://github.com/rklancer/sproutcore-examples.git |
This file contains hidden or 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
| /*globals $ Raphael */ | |
| // make these accessible at the Firebug/Web Inspector console | |
| var r, group, points; | |
| $(function () { | |
| var notHighlighted = { | |
| stroke: "#999999", | |
| fill: "#999999" |
This file contains hidden or 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
| 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 |
This file contains hidden or 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 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', |
This file contains hidden or 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
| /* @group Core */ | |
| body.sc-doc { | |
| background-color: white ; | |
| padding: 20px; | |
| } | |
| .sc-doc { | |
| font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; |