I hereby claim:
- I am krotscheck on github.
- I am krotscheck (https://keybase.io/krotscheck) on keybase.
- I have a public key whose fingerprint is E740 C748 1041 0726 6742 28CA 20E6 18D8 78DE 38AB
To claim this, I am signing this object:
| # Do this first | |
| sudo gem install sproutcore | |
| sudo gem install bundler | |
| # Do this next | |
| mkdir ~/workspace | |
| cd ~/workspace | |
| sc-gen project my_sproutcore_project | |
| git clone [email protected]:sproutcore/abbot.git | |
| cd my_sproutcore_project |
| This assumes the following document structure: | |
| { | |
| email: "[email protected]", | |
| firstName: "MyFirstName", | |
| lastName: "MyLastName", | |
| address: { | |
| addressLine1: "Address Line 1", | |
| addressLine2: "Address Line 2", | |
| city: "Seattle", |
| A list of things that I want in the SproutCore framework. | |
| - Full HTML5 elements for the templateView | |
| - In-Template binding | |
| - getUserStream support in the media library (DIBS!). | |
| - SC.StateSupport mixin to offer basic state management. |
| /** | |
| * This is the DCPorter Memory fix, currently hosted at | |
| * | |
| * https://github.com/sproutcore/sproutcore/pull/844 | |
| */ | |
| SC.Binding.isDestroyed = NO; | |
| SC.Binding.destroy = function() { | |
| // If we're already destroyed, there's nothing to do. |
| // This gets added at the end of the if(content) block in arrayContentDidChange | |
| // On nested records we additionally have to do a pass to see whether the order | |
| // now matches. | |
| this._refreshNestedRecordOrder(); | |
| // This is a new method. |
| +++ frameworks/datastore/models/child_attribute.js | |
| +++ frameworks/datastore/models/children_attribute.js | |
| +++ frameworks/datastore/models/record.js | |
| +++ frameworks/datastore/models/record_attribute.js | |
| +++ frameworks/datastore/system/child_array.js | |
| +++ frameworks/datastore/system/many_array.js | |
| +++ frameworks/datastore/system/nested_store.js | |
| +++ frameworks/datastore/system/record_array.js | |
| +++ frameworks/datastore/system/store.js |
| class VersionController(rest.RestController): | |
| @secure(checks.guest) | |
| @wsme_pecan.wsexpose(wmodels.MyNonDBVersionModel) | |
| def get(self): | |
| # Get version things. | |
| return wmodels.MyNonDBVersionModel( foo=bar, omg=cat) |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "scripts": { | |
| "eslint": "LIST=`git diff-index --name-only HEAD~1 | grep .*\\.js | grep -v json`; if [ \"$LIST\" ]; then eslint $LIST; fi" | |
| }, | |
| "devDependencies": { | |
| "eslint": "~0.5.1" | |
| }, | |
| "pre-commit": [ | |
| "eslint" | |
| ] |
| export type IterableOrIterator<T> = Iterable<T> | Iterator<T> | AsyncIterable<T> | AsyncIterator<T>; | |
| /** | |
| * Concatenate any kind of iterable. | |
| */ | |
| export async function* concatIterable<T>(...iterators: IterableOrIterator<T>[]) { | |
| for (let i of iterators) { | |
| if (isIterable(i)) { | |
| i = i[Symbol.iterator](); | |
| } else if (isAsyncIterable(i)) { |