Skip to content

Commit 5e20fe3

Browse files
committed
Missing parentheses added in README snippets
1 parent 4f1a85d commit 5e20fe3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Returns the format used to create the tinycolor instance
108108
var color = tinycolor("red");
109109
color.getFormat(); // "name"
110110
color = tinycolor({r:255, g:255, b:255});
111-
color.getFormat; // "rgb"
111+
color.getFormat(); // "rgb"
112112
```
113113

114114
### getOriginalInput
@@ -118,7 +118,7 @@ Returns the input passed into the constructer used to create the tinycolor insta
118118
var color = tinycolor("red");
119119
color.getOriginalInput(); // "red"
120120
color = tinycolor({r:255, g:255, b:255});
121-
color.getOriginalInput; // "{r: 255, g: 255, b: 255}"
121+
color.getOriginalInput(); // "{r: 255, g: 255, b: 255}"
122122
```
123123

124124
### isValid

0 commit comments

Comments
 (0)