Skip to content

Commit

Permalink
fix issue and bump version to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
afucher committed Feb 16, 2021
1 parent f788341 commit 7114ee5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astrochart",
"version": "2.0.0",
"version": "2.0.1",
"description": "A free and open-source JavaScript library for generating SVG charts to display planets in astrology.",
"keywords": [
"astrology",
Expand Down
1 change: 1 addition & 0 deletions project/build/astrochart.js
Original file line number Diff line number Diff line change
Expand Up @@ -1686,6 +1686,7 @@

if(settings){
Object.assign(astrology, settings);
if(!('COLORS_SIGNS' in settings)) astrology.COLORS_SIGNS = [astrology.COLOR_ARIES, astrology.COLOR_TAURUS, astrology.COLOR_GEMINI, astrology.COLOR_CANCER, astrology.COLOR_LEO, astrology.COLOR_VIRGO, astrology.COLOR_LIBRA, astrology.COLOR_SCORPIO, astrology.COLOR_SAGITTARIUS, astrology.COLOR_CAPRICORN, astrology.COLOR_AQUARIUS, astrology.COLOR_PISCES];
}

if (elementId && !document.getElementById( elementId )){
Expand Down
Loading

0 comments on commit 7114ee5

Please sign in to comment.