Skip to content

Commit

Permalink
0.1.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Feb 27, 2015
1 parent 9f26731 commit d8067ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions Rickshaw.Fixtures.PubNub.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Rickshaw.Fixtures.PubNub = function (options) {
channel: options.channel,
start: timetoken,
callback: function(payload) {

var msgs = payload[0];
var start = payload[1];
var end = payload[2];
Expand All @@ -57,7 +57,7 @@ Rickshaw.Fixtures.PubNub = function (options) {

all_messages.reverse();
i = 0;
while(i < all_messages.length) { //
while(i < all_messages.length) { //
self.pushMessage(all_messages[i]);
i++;
}
Expand All @@ -77,13 +77,13 @@ Rickshaw.Fixtures.PubNub = function (options) {
var i = 0;
while(i < m.y.length) {

options.graph.series[i].data.push({
x: m.x,
options.graph.series[i].data.push({
x: m.x,
y: m.y[i]
});

i++;

}

// shift the array if we're over limit
Expand Down Expand Up @@ -121,4 +121,7 @@ Rickshaw.Fixtures.PubNub = function (options) {
self.page();
}

};
};

var eon = eon || {};
eon.rickshaw = Rickshaw.Fixtures.PubNub;
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eon-rickshaw",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://github.com/pubnub/pubnub-rickshaw",
"authors": [
"Ian Jennings <ian@meetjennings.com>"
Expand Down

0 comments on commit d8067ee

Please sign in to comment.