Open ghost opened 6 years ago
Hey,
There is a JS Error in developer console that cldr.js causes that I set everything right, even cloned this project and ran it without any changes..
Uncaught Error: E_INVALID_PAR_TYPE: {"expected":"Plain Object","name":"json","value":"{\n \"main\": {\n \"en\": {\n \"identity\": {\n \"version\": {\n \"_number\": \"$Revision: 13744 $\",\n \"_cldrVersion\": \"32.0.1\"\n },\n \"language\": \"en\"\n },\n \"dates\": {\n \"calendars\": {\n \"gregorian\": {\n \"months\": {\n \"format\": {\n \"abbreviated\": {\n \"1\": \"Jan\",\n \"2\": \"Feb\",\n \"3\": \"Mar\",\n \"4\": \"Apr\",\n \"5\": \"May\",\n \"6\": \"Jun\",\n \"7\": \"Jul\",\n \"8\": \"Aug\",\n \"9\": \"Sep\",\n \"10\": \"Oct\",\n \"11\": \"Nov\",\n \"12\": \"Dec\"\n },\n \"narrow\": {\n \"1\": \"J\",\n \"2\": \"F\",\n \"3\": \"M\",\n \"4\": \"A\",\n \"5\": \"M\",\n \"6\": \"J\",\n \"7\": \"J\",\n \"8\": \"A\",\n \"9\": \"S\",\n \"10\": \"O\",\n \"11\": \"N\",\n \"12\": \"D\"\n },\n \"wide\": {\n \"1\": \"January\",\n \"2\": \"February\",\n \"3\": \"March\",\n \"4\": \"April\",\n \"5\": \"May\",\n \"6\": \"June\",\n \"7\": \"July\",\n \"8\": \"August\",\n \"9\": \"September\",\n \"10\": \"October\",\n \"11\": \"November\",\n \"12\": \"December\"\n }\n },\n \"stand-alone\": {\n \"abbreviated\": {\n \"1\": \"Jan\",\n \"2\": \"Feb\",\n \"3\": \"Mar\",\n \"4\": \"Apr\",\n \"5\": \"May\",\n \"6\": \"Jun\",\n \"7\": \"Jul\",\n \"8\": \"Aug\",\n \"9\": \"Sep\",\n \"10\": \"Oct\",\n \"11\": \"Nov\",\n \"12\": \"Dec\"\n },\n \"narrow\": {\n \"1\": \"J\",\n \"2\": \"F\",\n \"3\": \"M\",\n \"4\": \"A\",\n \"5\": \"M\",\n \"6\": \"J\",\n \"7\": \"J\",\n \"8\": \"A\",\n \"9\": \"S\",\n \"10\": \"O\",\n \"11\": \"N\",\n \"12\": \"D\"\n },\n \"wide\": {\n \"1\": \"January\",\n \"2\": \"February\",\n \"3\": \"March\",\n \"4\": \"April\",\n \"5\": \"May\",\n \"6\": \"June\",\n \"7\": \"July\",\n \"8\": \"August\",\n \"9\": \"September\",\n \"10\": \"October\",\n \"11\": \"November\",\n \"12\": \"December\"\n }\n }\n },\n \"days\": {\n \"format\": {\n \"abbreviated\": {\n \"sun\": \"Sun\",\n \"mon\": \"Mon\",\n \"tue\": \"Tue\",\n \"wed\": \"Wed\",\n \"thu\": \"Thu\",\n \"fri\": \"Fri\",\n \"sat\": \"Sat\"\n },\n \"narrow\": {\n \"sun\": \"S\",\n \"mon\": \"M\",\n \"tue\": \"T\",\n \"wed\": \"W\",\n \"thu\": \"T\",\n \"fri\": \"F\",\n \"sat\": \"S\"\n },\n \"short\": {\n \"sun\": \"Su\",\n \"mon\": \"Mo\",\n \"tue\": \"Tu\",\n \"wed\": \"We\",\n \"thu\": \"Th\",\n \"fri\": \"Fr\",\n \"sat\": \"Sa\"\n },\n \"wide\": {\n \"sun\": \"Sunday\",\n \"mon\": \"Monday\",\n \"tue\": \"Tuesday\",\n \"wed\": \"Wednesday\",\n \"thu\": \"Thursday\",\n \"fri\": \"Friday\",\n \"sat\": \"Saturday\"\n }\n },\n \"stand-alone\": {\n \"abbreviated\": {\n \"sun\": \"Sun\",\n \"mon\": \"Mon\",\n \"tue\": \"Tue\",\n \"wed\": \"Wed\",\n \"thu\": \"Thu\",\n \"fri\": \"Fri\",\n \"sat\": \"Sat\"\n },\n \"narrow\": {\n \"sun\": \"S\",\n \"mon\": \"M\",\n \"tue\": \"T\",\n \"wed\": \"W\",\n \"thu\": \"T\",\n \"fri\": \"F\",\n \"sat\": \"S\"\n },\n \"short\": {\n \"sun\": \"Su\",\n \"mon\": \"Mo\",\n \"tue\": \"Tu\",\n \"wed\": \"We\",\n \"thu\": \"Th\",\n \"fri\": \"Fr\",\n \"sat\": \"Sa\"\n },\n \"wide\": {\n \"sun\": \"Sunday\",\n \"mon\": \"Monday\",\n \"tue\": \"Tuesday\",\n \"wed\": \"Wednesday\",\n \"thu\": \"Thursday\",\n \"fri\": \"Friday\",\n \"sat\": \"Saturday\"\n }\n }\n },\n \"quarters\": {\n \"format\": {\n \"abbreviated\": {\n \"1\": \"Q1\",\n \"2\": \"Q2\",\n \"3\": \"Q3\",\n \"4\": \"Q4\"\n },\n \"narrow\": {\n \"1\": \"1\",\n \"2\": \"2\",\n \"3\": \"3\",\n \"4\": \"4\"\n },\n \"wide\": {\n \"1\": \"1st quarter\",\n \"2\": \"2nd quarter\",\n \"3\": \"3rd quarter\",\n \"4\": \"4th quarter\"\n }\n },\n \"stand-alone\": {\n \"abbreviated\": {\n \"1\": \"Q1\",\n \"2\": \"Q2\",\n \"3\": \"Q3\",\n \"4\": \"Q4\"\n },\n \"narrow\": {\n \"1\": \"1\",\n \"2\": \"2\",\n \"3\": \"3\",\n \"4\": \"4\"\n },\n \"wide\": {\n \"1\": \"1st quarter\",\n \"2\": \"2nd quarter\",\n \"3\": \"3rd quarter\",\n \"4\": \"4th quarter\"\n }\n }\n },\n \"dayPeriods\": {\n \"format\": {\n \"abbreviated\": {\n \"midnight\": \"midnight\",\n \"am\": \"AM\",\n \"am-alt-variant\": \"am\",\n \"noon\": \"noon\",\n \"pm\": \"PM\",\n \"pm-alt-variant\": \"pm\",\n \"morning1\": \"in the morning\",\n \"afternoon1\": \"in the afternoon\",\n \"evening1\": \"in the evening\",\n \"night1\": \"at night\"\n },\n \"narrow\": {\n \"midnight\": \"mi\",\n \"am\": \"a\",\n \"am-alt-variant\": \"am\",\n \"noon\": \"n\",\n \"pm\": \"p\",\n \"pm-alt-variant\": \"pm\",\n \"morning1\": \"in the morning\",\n \"afternoon1\": \"in the afternoon\",\n \"evening1\": \"in the evening\",\n \"night1\": \"at night\"\n },\n \"wide\": {\n \"midnight\": \"midnight\",\n \"am\": \"AM\",\n \"am-alt-variant\": \"am\",\n \"noon\": \"noon\",\n \"pm\": \"PM\",\n \"pm-alt-variant\": \"pm\",\n \"morning1\": \"in the morning\",\n \"afternoon1\": \"in the afternoon\",\n \"evening1\": \"in the evening\",\n \"night1\": \"at night\"\n }\n },\n \"stand-alone\": {\n \"abbreviated\": {\n \"midnight\": \"midnight\",\n \"am\": \"AM\",\n \"am-alt-variant\": \"am\",\n \"noon\": \"noon\",\n \"pm\": \"PM\",\n \"pm-alt-variant\": \"pm\",\n \"morning1\": \"morning\",\n \"afternoon1\": \"afternoon\",\n \"evening1\": \"evening\",\n \"night1\": \"night\"\n },\n \"narrow\": {\n \"midnight\": \"midnight\",\n \"am\": \"AM\",\n \"am-alt-variant\": \"am\",\n \"noon\": \"noon\",\n \"pm\": \"PM\",\n \"pm-alt-variant\": \"pm\",\n \"morning1\": \"morning\",\n \"afternoon1\": \"afternoon\",\n \"evening1\": \"evening\",\n \"night1\": \"night\"\n },\n \"wide\": {\n \"midnight\": \"midnight\",\n \"am\": \"AM\",\n \"am-alt-variant\": \"am\",\n \"noon\": \"noon\",\n \"pm\": \"PM\",\n \"pm-alt-variant\": \"pm\",\n \"morning1\": \"morning\",\n \"afternoon1\": \"afternoon\",\n \"evening1\": \"evening\",\n \"night1\": \"night\"\n }\n }\n },\n \"eras\": {\n \"eraNames\": {\n \"0\": \"Before Christ\",\n \"0-alt-variant\": \"Before Common Era\",\n \"1\": \"Anno Domini\",\n \"1-alt-variant\": \"Common Era\"\n },\n \"eraAbbr\": {\n \"0\": \"BC\",\n \"0-alt-variant\": \"BCE\",\n \"1\": \"AD\",\n \"1-alt-variant\": \"CE\"\n },\n \"eraNarrow\": {\n \"0\": \"B\",\n \"0-alt-variant\": \"BCE\",\n \"1\": \"A\",\n \"1-alt-variant\": \"CE\"\n }\n },\n \"dateFormats\": {\n \"full\": \"EEEE, MMMM d, y\",\n \"long\": \"MMMM d, y\",\n \"medium\": \"MMM d, y\",\n \"short\": \"M/d/yy\"\n },\n \"timeFormats\": {\n \"full\": \"h:mm:ss a zzzz\",\n \"long\": \"h:mm:ss a z\",\n \"medium\": \"h:mm:ss a\",\n \"short\": \"h:mm a\"\n },\n \"dateTimeFormats\": {\n \"full\": \"{1} 'at' {0}\",\n \"long\": \"{1} 'at' {0}\",\n \"medium\": \"{1}, {0}\",\n \"short\": \"{1}, {0}\",\n \"availableFormats\": {\n \"Bh\": \"h B\",\n \"Bhm\": \"h:mm B\",\n \"Bhms\": \"h:mm:ss B\",\n \"d\": \"d\",\n \"E\": \"ccc\",\n \"EBhm\": \"E h:mm B\",\n \"EBhms\": \"E h:mm:ss B\",\n \"Ed\": \"d E\",\n \"Ehm\": \"E h:mm a\",\n \"EHm\": \"E HH:mm\",\n \"Ehms\": \"E h:mm:ss a\",\n \"EHms\": \"E HH:mm:ss\",\n \"Gy\": \"y G\",\n \"GyMMM\": \"MMM y G\",\n \"GyMMMd\": \"MMM d, y G\",\n \"GyMMMEd\": \"E, MMM d, y G\",\n \"h\": \"h a\",\n \"H\": \"HH\",\n \"hm\": \"h:mm a\",\n \"Hm\": \"HH:mm\",\n \"hms\": \"h:mm:ss a\",\n \"Hms\": \"HH:mm:ss\",\n \"hmsv\": \"h:mm:ss a v\",\n \"Hmsv\": \"HH:mm:ss v\",\n \"hmv\": \"h:mm a v\",\n \"Hmv\": \"HH:mm v\",\n \"M\": \"L\",\n \"Md\": \"M/d\",\n \"MEd\": \"E, M/d\",\n \"MMM\": \"LLL\",\n \"MMMd\": \"MMM d\",\n \"MMMEd\": \"E, MMM d\",\n \"MMMMd\": \"MMMM d\",\n \"MMMMW-count-one\": \"'week' W 'of' MMMM\",\n \"MMMMW-count-other\": \"'week' W 'of' MMMM\",\n \"ms\": \"mm:ss\",\n \"y\": \"y\",\n \"yM\": \"M/y\",\n \"yMd\": \"M/d/y\",\n \"yMEd\": \"E, M/d/y\",\n \"yMMM\": \"MMM y\",\n \"yMMMd\": \"MMM d, y\",\n \"yMMMEd\": \"E, MMM d, y\",\n \"yMMMM\": \"MMMM y\",\n \"yQQQ\": \"QQQ y\",\n \"yQQQQ\": \"QQQQ y\",\n \"yw-count-one\": \"'week' w 'of' Y\",\n \"yw-count-other\": \"'week' w 'of' Y\"\n },\n \"appendItems\": {\n \"Day\": \"{0} ({2}: {1})\",\n \"Day-Of-Week\": \"{0} {1}\",\n \"Era\": \"{0} {1}\",\n \"Hour\": \"{0} ({2}: {1})\",\n \"Minute\": \"{0} ({2}: {1})\",\n \"Month\": \"{0} ({2}: {1})\",\n \"Quarter\": \"{0} ({2}: {1})\",\n \"Second\": \"{0} ({2}: {1})\",\n \"Timezone\": \"{0} {1}\",\n \"Week\": \"{0} ({2}: {1})\",\n \"Year\": \"{0} {1}\"\n },\n \"intervalFormats\": {\n \"intervalFormatFallback\": \"{0} – {1}\",\n \"d\": {\n \"d\": \"d – d\"\n },\n \"h\": {\n \"a\": \"h a – h a\",\n \"h\": \"h – h a\"\n },\n \"H\": {\n \"H\": \"HH – HH\"\n },\n \"hm\": {\n \"a\": \"h:mm a – h:mm a\",\n \"h\": \"h:mm – h:mm a\",\n \"m\": \"h:mm – h:mm a\"\n },\n \"Hm\": {\n \"H\": \"HH:mm – HH:mm\",\n \"m\": \"HH:mm – HH:mm\"\n },\n \"hmv\": {\n \"a\": \"h:mm a – h:mm a v\",\n \"h\": \"h:mm – h:mm a v\",\n \"m\": \"h:mm – h:mm a v\"\n },\n \"Hmv\": {\n \"H\": \"HH:mm – HH:mm v\",\n \"m\": \"HH:mm – HH:mm v\"\n },\n \"hv\": {\n \"a\": \"h a – h a v\",\n \"h\": \"h – h a v\"\n },\n \"Hv\": {\n \"H\": \"HH – HH v\"\n },\n \"M\": {\n \"M\": \"M – M\"\n },\n \"Md\": {\n \"d\": \"M/d – M/d\",\n \"M\": \"M/d – M/d\"\n },\n \"MEd\": {\n \"d\": \"E, M/d – E, M/d\",\n \"M\": \"E, M/d – E, M/d\"\n },\n \"MMM\": {\n \"M\": \"MMM – MMM\"\n },\n \"MMMd\": {\n \"d\": \"MMM d – d\",\n \"M\": \"MMM d – MMM d\"\n },\n \"MMMEd\": {\n \"d\": \"E, MMM d – E, MMM d\",\n \"M\": \"E, MMM d – E, MMM d\"\n },\n \"y\": {\n \"y\": \"y – y\"\n },\n \"yM\": {\n \"M\": \"M/y – M/y\",\n \"y\": \"M/y – M/y\"\n },\n \"yMd\": {\n \"d\": \"M/d/y – M/d/y\",\n \"M\": \"M/d/y – M/d/y\",\n \"y\": \"M/d/y – M/d/y\"\n },\n \"yMEd\": {\n \"d\": \"E, M/d/y – E, M/d/y\",\n \"M\": \"E, M/d/y – E, M/d/y\",\n \"y\": \"E, M/d/y – E, M/d/y\"\n },\n \"yMMM\": {\n \"M\": \"MMM – MMM y\",\n \"y\": \"MMM y – MMM y\"\n },\n \"yMMMd\": {\n \"d\": \"MMM d – d, y\",\n \"M\": \"MMM d – MMM d, y\",\n \"y\": \"MMM d, y – MMM d, y\"\n },\n \"yMMMEd\": {\n \"d\": \"E, MMM d – E, MMM d, y\",\n \"M\": \"E, MMM d – E, MMM d, y\",\n \"y\": \"E, MMM d, y – E, MMM d, y\"\n },\n \"yMMMM\": {\n \"M\": \"MMMM – MMMM y\",\n \"y\": \"MMMM y – MMMM y\"\n }\n }\n }\n }\n }\n }\n }\n }\n}\n"} at createError (cldr.js:339) at validate (cldr.js:355) at validateType (cldr.js:372) at validateTypePlainObject (cldr.js:400) at coreLoad (cldr.js:520) at Function.Cldr.load (cldr.js:576) at Array.Globalize.load (globalize.js:373) at Array.<anonymous> (jquery-1.11.3.min.js:2) at j (jquery-1.11.3.min.js:2) at Object.fireWith [as resolveWith] (jquery-1.11.3.min.js:2)
I even tried to use the main RichFilemanager repo's scripts, but that didnt make any difference ( Sorry for bad English )
I have the same issue
Hey,
There is a JS Error in developer console that cldr.js causes that I set everything right, even cloned this project and ran it without any changes..
I even tried to use the main RichFilemanager repo's scripts, but that didnt make any difference ( Sorry for bad English )