keenlabs/keen-js — pull request #171 by dustinlarimer (2014-10-13 04:07:30+00:00)
Title: Visualization reboot: v3.1.0-beta

Heavy refactor under the hood, exposing a bunch of new goodies:

* [Keen.Dataviz](https://github.com/keenlabs/keen-js/tree/clean-viz/src/dataviz) class
* [Keen.Dataset](https://github.com/keenlabs/keen-js/tree/clean-viz/src/dataset) class (based on `Keen.Dataform`)
* 150 new tests to cover these two classes, along with expanded test coverage that includes iOS (6-7.1), Android (4.1-4.4), and Chrome/Firefox Beta builds.
* Refactored [loading script](https://gist.github.com/dustinlarimer/19fedf00c44d120ef8b4), to make it easier to stay up to date with the latest version. Now, when users see the JS blob for embedding our library in the page, it'll look like this:

```js
!function(i,o){i("Keen","/3.1.0-beta/keen.min.js",o)}(function(a,b,c){var d,e,f;c["_"+a]={},c[a]=function(b){c["_"+a].clients=c["_"+a].clients||{},c["_"+a].clients[b.projectId]=this,this._config=b},c[a].ready=function(b){c["_"+a].ready=c["_"+a].ready||[],c["_"+a].ready.push(b)},d=["addEvent","setGlobalProperties","trackExternalLink","on"];for(var g=0;g