Skip to content

Commit

Permalink
Release version 0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
teamdandelion committed Jul 10, 2014
1 parent d926e1b commit 6262978
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "plottable",
"description": "A library for creating charts out of D3",
"version": "0.19.3",
"version": "0.20.0",
"main": ["plottable.js", "plottable.css"],
"license": "MIT",
"ignore": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plottable.js",
"version": "0.19.3",
"version": "0.20.0",
"description": "Build flexible, performant, interactive charts using D3",
"repository": {
"type": "git",
Expand Down
18 changes: 9 additions & 9 deletions plottable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1747,25 +1747,25 @@ declare module Plottable {
* Creates a Label.
*
* @constructor
* @param {string} [text] The text of the Label.
* @param {string} [displayText] The text of the Label.
* @param {string} [orientation] The orientation of the Label (horizontal/vertical-left/vertical-right).
*/
constructor(inputText?: string, orientation?: string);
constructor(displayText?: string, orientation?: string);
public xAlign(alignment: string): Label;
public yAlign(alignment: string): Label;
/**
* Sets the text on the Label.
*
* @param {string} text The new text for the Label.
* @returns {Label} The calling Label.
*/
public text(inputText: string): Label;
/**
* Retrieve the current text on the Label.
*
* @returns {string} The text on the label.
*/
public text(): string;
/**
* Sets the text on the Label.
*
* @param {string} displayText The new text for the Label.
* @returns {Label} The calling Label.
*/
public text(displayText: string): Label;
}
class TitleLabel extends Label {
constructor(text?: string, orientation?: string);
Expand Down
18 changes: 9 additions & 9 deletions plottable.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
Plottable 0.19.3 (https://github.com/palantir/plottable)
Plottable 0.20.0 (https://github.com/palantir/plottable)
Copyright 2014 Palantir Technologies
Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE)
*/
Expand Down Expand Up @@ -1465,7 +1465,7 @@ var Plottable;
///<reference path="../reference.ts" />
var Plottable;
(function (Plottable) {
Plottable.version = "0.19.3";
Plottable.version = "0.20.0";
})(Plottable || (Plottable = {}));

///<reference path="../reference.ts" />
Expand Down Expand Up @@ -4894,15 +4894,15 @@ var Plottable;
* Creates a Label.
*
* @constructor
* @param {string} [text] The text of the Label.
* @param {string} [displayText] The text of the Label.
* @param {string} [orientation] The orientation of the Label (horizontal/vertical-left/vertical-right).
*/
function Label(inputText, orientation) {
if (typeof inputText === "undefined") { inputText = ""; }
function Label(displayText, orientation) {
if (typeof displayText === "undefined") { displayText = ""; }
if (typeof orientation === "undefined") { orientation = "horizontal"; }
_super.call(this);
this.classed("label", true);
this.text(inputText);
this.text(displayText);
orientation = orientation.toLowerCase();
if (orientation === "vertical-left") {
orientation = "left";
Expand Down Expand Up @@ -4951,11 +4951,11 @@ var Plottable;
return this;
};

Label.prototype.text = function (inputText) {
if (inputText === undefined) {
Label.prototype.text = function (displayText) {
if (displayText === undefined) {
return this._text;
} else {
this._text = inputText;
this._text = displayText;
this._invalidateLayout();
return this;
}
Expand Down
8 changes: 4 additions & 4 deletions plottable.min.js

Large diffs are not rendered by default.

Binary file modified plottable.zip
Binary file not shown.

0 comments on commit 6262978

Please sign in to comment.