Skip to content

Commit 50a8632

Browse files
committed
Merge pull request tidev#2 from FokkeZB/patch-2
Start with exports
2 parents 5c7f5d7 + c30a01e commit 50a8632

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/webcolor.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ var UIColor = require("UIKit/UIColor"),
77
NSNotFound = require("Foundation").NSNotFound,
88
colorLookup;
99

10+
/*
11+
* Public API's
12+
*/
13+
exports.webColorNamed = webColorNamed;
14+
exports.isDarkColor = isDarkColor;
15+
1016
/*
1117
* Constructor
1218
*/
@@ -164,9 +170,3 @@ function generateColorLookup() {
164170
function RGBACOLOR(r, g, b, a) {
165171
return UIColor.colorWithRedGreenBlueAlpha(r, g, b, a);
166172
}
167-
168-
/*
169-
* Public API's
170-
*/
171-
exports.webColorNamed = webColorNamed;
172-
exports.isDarkColor = isDarkColor;

0 commit comments

Comments
 (0)