Skip to content

Commit 7114ee5

Browse files
committed
fix issue and bump version to 2.0.1
1 parent f788341 commit 7114ee5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "astrochart",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "A free and open-source JavaScript library for generating SVG charts to display planets in astrology.",
55
"keywords": [
66
"astrology",

project/build/astrochart.js

+1
Original file line numberDiff line numberDiff line change
@@ -1686,6 +1686,7 @@
16861686

16871687
if(settings){
16881688
Object.assign(astrology, settings);
1689+
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];
16891690
}
16901691

16911692
if (elementId && !document.getElementById( elementId )){

0 commit comments

Comments
 (0)