Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling #633

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ For building, we use [Node](http://nodejs.org) and [npm](http://npmjs.org). Runn

After doing a build you can run the tests with the command: `npm test`

For more availible options see the [package.json](package.json) scripts section.
For more available options see the [package.json](package.json) scripts section.


## Contributing
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"examples",
"node_modules",
"tests",
"turorial"
"tutorial"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This puzzles me

],
"dependencies": {
"d3": "~3.5.5"
Expand Down
2 changes: 1 addition & 1 deletion examples/multi.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
obj.color = "rgba(255, 0, 0, 0.5)";
obj.stroke = "rgba(255, 0, 0, 0.5)";
} else {
// lower opacity of non-highlighed data
// lower opacity of non-highlighted data
obj.stroke = "rgba(0,0,0,0.1)";
obj.color = "rgba(0,0,0,0.05)";
}
Expand Down
4 changes: 2 additions & 2 deletions rickshaw.js
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ Rickshaw.Graph.Behavior.Series.Highlight = function(args) {
var transformFn = args.transform || function(isActive, series) {
var newProperties = {};
if (!isActive) {
// backwards compability
// backwards compatibility
newProperties.color = disabledColor(series.color);
}
return newProperties;
Expand Down Expand Up @@ -3570,7 +3570,7 @@ Rickshaw.Graph.Renderer.Bar = Rickshaw.Class.create( Rickshaw.Graph.Renderer, {

// Sorting object's keys returned to guarantee consistency when iterating over
// Keys order in `for .. in` loop is not specified and browsers behave differently here
// This results with different invterval value being calculated for different browsers
// This results with different interval value being calculated for different browsers
// See last but one section here: http://www.ecma-international.org/ecma-262/5.1/#sec-12.6.4
var keysSorted = Rickshaw.keys(intervalCounts).sort(function asc(a, b) { return Number(a) - Number(b); });
keysSorted.forEach( function(i) {
Expand Down
2 changes: 1 addition & 1 deletion src/js/Rickshaw.Graph.Behavior.Series.Highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Rickshaw.Graph.Behavior.Series.Highlight = function(args) {
var transformFn = args.transform || function(isActive, series) {
var newProperties = {};
if (!isActive) {
// backwards compability
// backwards compatibility
newProperties.color = disabledColor(series.color);
}
return newProperties;
Expand Down
2 changes: 1 addition & 1 deletion tests/Rickshaw.Graph.Axis.Y.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ exports.axis = function(test) {
});

test.equal(yAxis.width, 20, "setSize causes changes");
test.equal(yAxis.height, 600, "setSize doent change values which are not passed");
test.equal(yAxis.height, 600, "setSize doesn't change values which are not passed");

test.done();
};
2 changes: 1 addition & 1 deletion tests/Rickshaw.Graph.Renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ exports.respectStrokeFactory = function(test) {
var stroke = graph.vis.select('path.stroke.fnord');
test.equals(stroke.size(), 1, "we have a fnord stroke");

// should also be availeable via series
// should also be available via series
var firstSeries = graph.series[0];
test.ok(d3.select(firstSeries.path).classed('path'), "selectable path");
test.ok(d3.select(firstSeries.stroke).classed('stroke', "selectable stroke"));
Expand Down