Skip to content

Commit

Permalink
Merge pull request #10 from fusioncharts/develop
Browse files Browse the repository at this point in the history
Release 2.0.0
  • Loading branch information
priyanjitdey94 authored May 8, 2019
2 parents 9f649bc + 84b452e commit eafe44d
Show file tree
Hide file tree
Showing 25 changed files with 1,229 additions and 38,660 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": [["@babel/preset-env", { "modules": false }]]
}
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
.publish/*
dist/*
build/*
example/dist/*
lib/*
node_modules/*
_build/*
coverage/*
es/*
test/*
example/
14 changes: 12 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,28 @@
"browser": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"react"
],
"extends": "eslint:recommended",
"extends": ["eslint:recommended", "plugin:react/recommended"],
"rules": {
"no-use-before-define": 1,
"no-unused-expressions":"error",
"camelcase": 1,
"new-cap": 1,
"one-var": 1,
"no-mixed-spaces-and-tabs": 0,
"no-cond-assign": 0,
"block-scoped-var": 0,
"semi": 1
"no-useless-escape": 0,
"semi": 1,
"react/no-deprecated": 0,
"react/prop-types": 0,
"react/no-find-dom-node": 0
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ node_modules

# ignore temporary build folders
_build/

package-lock.json
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ To Create a new instance
* If a bound box is defined it wraps the text and returns the wrapped height and width.
* It allows to append ellipsis at the end if the text is truncated.
*
* @param {String | Number} id - Id of the instance. If the same id is passed, it disposes the old instance and
* save the new one;
* @param {String | HTMLElement} container - The id or the instance of the container where the intermediate dom
* elements are to be attached. If not passed, it appends in body.
*
Expand All @@ -68,7 +66,7 @@ To Create a new instance
* }
* @constructor
*/
var slManager = new SmartLabelManager(id, container, useEllipses, options)
var slManager = new SmartLabelManager(container, useEllipses, options)
```

To apply style before calculating text metrics
Expand Down
32 changes: 0 additions & 32 deletions bower.json

This file was deleted.

Loading

0 comments on commit eafe44d

Please sign in to comment.