Skip to content

Commit be19b50

Browse files
rxavierskborchers
authored andcommitted
Consistently use " instead of '
1 parent 02919e3 commit be19b50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
var Globalize = require('globalize');
1+
var Globalize = require("globalize");
22
var mixins = {};
33

44
Object.getOwnPropertyNames(Globalize).forEach(function(fn) {
55
if (fn.indexOf("format") === 0) {
66
var fnString = Globalize[fn].toString();
7-
var argString = fnString.substr(fnString.indexOf('(')+1, fnString.indexOf(')')-(fnString.indexOf('(')+1)).trim();
8-
var argArray = argString.split(', ');
7+
var argString = fnString.substr(fnString.indexOf("(")+1, fnString.indexOf(")")-(fnString.indexOf("(")+1)).trim();
8+
var argArray = argString.split(", ");
99

1010
(function(currentFn, currentArgs) {
1111
var formatter = function(nextProps) {
1212
var componentProps = nextProps || this.props;
1313
var propArgs = currentArgs.map(function(element) {
14-
return componentProps[element.replace(/(\s\/\*|\*\/)/,'').trim()];
14+
return componentProps[element.replace(/(\s\/\*|\*\/)/,"").trim()];
1515
});
1616

1717
Globalize.locale( componentProps["locale"] );

0 commit comments

Comments
 (0)