More info at http://www.benlesh.com
Open license.. use however. EXCEPT THIS README, IF YOU USE THIS I'LL SUE.
More info at http://www.benlesh.com
Open license.. use however. EXCEPT THIS README, IF YOU USE THIS I'LL SUE.
| /** | |
| * @license AngularJS v1.3.0-local+sha.8548c99 | |
| * (c) 2010-2014 Google, Inc. http://angularjs.org | |
| * License: MIT | |
| */ | |
| (function(window, document, undefined) {'use strict'; | |
| /** | |
| * @description | |
| * |
| console.clear(); | |
| var $locale = locale; | |
| function forEach(coll, fn) { | |
| var type = Object.prototype.toString.call(coll); | |
| if(type === '[object Array]') { | |
| //HACK new browsers only | |
| coll.forEach(fn); | |
| } else if(type === '[object Object]') { |
| /** | |
| creates a circle in the upper left corner of its container | |
| with the given radius. `<custom-circle radius="10"/>` | |
| */ | |
| app.directive('customCircle', function(){ | |
| return { | |
| // the following two configuration options are | |
| // required for SVG custom elements. | |
| templateNamespace: 'svg', | |
| replace: true, |
This is a set of files for a blog entry on web workers.
http://www.benlesh.com/2014/09/dynamic-worker-threads-in-javascript.html
All code and text ©2014 Ben Lesh ben@benlesh
However it's MIT Licensed. Okay, really I doubt I'll ever sue anyone for using this junk. Just remember where you found it and say nice things about me. ;)
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://d3js.org/d3.v3.min.js"></script> | |
| <script src="http://cdnjs.cloudflare.com/ajax/libs/rxjs/2.3.22/rx.all.js"></script> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| body { | |
| font-family: Sans-serif; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://cdnjs.cloudflare.com/ajax/libs/rxjs/2.3.22/rx.all.js"></script> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <h1>Just say something</h1> | |
| <script id="jsbin-javascript"> |
| window.console.clear(); | |
| function* gen1() { | |
| yield 1; | |
| yield 2; | |
| return 3; | |
| } | |
| function printForOf(iter) { | |
| for(var x of iter) { |