circletype
Advanced tools
Comparing version 2.0.9 to 2.0.10
/*! | ||
* circletype 2.0.9 | ||
* circletype 2.0.10 | ||
* A JavaScript library that lets you curve type on the web. | ||
@@ -4,0 +4,0 @@ * Copyright © 2014-2017 Peter Hrynkow |
{ | ||
"name": "circletype", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"description": "A JavaScript library that lets you curve type on the web.", | ||
@@ -31,11 +31,11 @@ "main": "dist/circletype.min.js", | ||
"babel-preset-stage-0": "6.24.1", | ||
"backstopjs": "3.0.23", | ||
"eslint": "4.6.0", | ||
"backstopjs": "3.0.25", | ||
"eslint": "4.6.1", | ||
"eslint-config-airbnb-base": "12.0.0", | ||
"eslint-loader": "1.9.0", | ||
"eslint-plugin-import": "2.7.0", | ||
"jest": "20.0.4", | ||
"jest": "21.0.2", | ||
"jsdoc-to-markdown": "3.0.0", | ||
"webpack": "3.5.5" | ||
"webpack": "3.5.6" | ||
} | ||
} |
@@ -38,6 +38,6 @@ # CircleType | ||
* [new CircleType(elem)](#new_CircleType_new) | ||
* [.radius(value)](#CircleType+radius) ⇒ <code>Number</code> | ||
* [.radius()](#CircleType+radius) ⇒ <code>Number</code> | ||
* [.radius(value)](#CircleType+radius) ⇒ [<code>CircleType</code>](#CircleType) | ||
* [.radius()](#CircleType+radius) ⇒ <code>number</code> | ||
* [.dir(value)](#CircleType+dir) ⇒ [<code>CircleType</code>](#CircleType) | ||
* [.dir()](#CircleType+dir) ⇒ <code>Number</code> | ||
* [.dir()](#CircleType+dir) ⇒ <code>number</code> | ||
* [.refresh()](#CircleType+refresh) ⇒ [<code>CircleType</code>](#CircleType) | ||
@@ -64,3 +64,3 @@ * [.destroy()](#CircleType+destroy) ⇒ [<code>CircleType</code>](#CircleType) | ||
### circleType.radius(value) ⇒ <code>Number</code> | ||
### circleType.radius(value) ⇒ [<code>CircleType</code>](#CircleType) | ||
Sets the desired text radius. The minimum radius is the radius required | ||
@@ -71,7 +71,7 @@ for the text to form a complete circle. If `value` is less than the minimum | ||
**Kind**: instance method of [<code>CircleType</code>](#CircleType) | ||
**Returns**: <code>Number</code> - The current instance. | ||
**Returns**: [<code>CircleType</code>](#CircleType) - The current instance. | ||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| value | <code>Number</code> | A new text radius in pixels. | | ||
| value | <code>number</code> | A new text radius in pixels. | | ||
@@ -87,3 +87,3 @@ **Example** | ||
### circleType.radius() ⇒ <code>Number</code> | ||
### circleType.radius() ⇒ <code>number</code> | ||
Gets the text radius in pixels. The default radius is the radius required | ||
@@ -93,3 +93,3 @@ for the text to form a complete circle. | ||
**Kind**: instance method of [<code>CircleType</code>](#CircleType) | ||
**Returns**: <code>Number</code> - The current text radius. | ||
**Returns**: <code>number</code> - The current text radius. | ||
**Example** | ||
@@ -112,3 +112,3 @@ ```js | ||
| --- | --- | --- | | ||
| value | <code>Number</code> | A new text direction. | | ||
| value | <code>number</code> | A new text direction. | | ||
@@ -127,7 +127,7 @@ **Example** | ||
### circleType.dir() ⇒ <code>Number</code> | ||
### circleType.dir() ⇒ <code>number</code> | ||
Gets the text direction. `1` is clockwise, `-1` is counter-clockwise. | ||
**Kind**: instance method of [<code>CircleType</code>](#CircleType) | ||
**Returns**: <code>Number</code> - The current text radius. | ||
**Returns**: <code>number</code> - The current text radius. | ||
**Example** | ||
@@ -134,0 +134,0 @@ ```js |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12271