-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-documentation-guides-and-tutorials-chartjs-line-js-e65f01ece9921c30e0b5.js.map
1 lines (1 loc) · 3.73 KB
/
component---src-pages-documentation-guides-and-tutorials-chartjs-line-js-e65f01ece9921c30e0b5.js.map
1
{"version":3,"file":"component---src-pages-documentation-guides-and-tutorials-chartjs-line-js-e65f01ece9921c30e0b5.js","mappings":"sKAeIA,E,o+LAFAC,EAAIC,EAAAA,GAAkDC,GAIpC,IAAlBF,EAAEG,IACJJ,EAAkBC,EAAEI,IAEpBC,MAAMC,EAAAA,GAA8BN,EAAEI,KACtCL,EAAkBQ,EAAAA,GAAgB,EAAGC,EAAAA,QAAgCC,OAAWA,OAAWA,OAAWA,OAAWA,OAAWA,OAAWA,KAGzI,IAAIC,EAAiBC,EAAAA,GAAoBJ,EAAAA,GAAwBR,GAAkB,SAAUa,EAAGC,GACpF,OAAOD,MAGfE,EAAeC,EAAAA,GAA0BR,EAAAA,GAAwBR,GAAkB,SAAUa,EAAGI,GACxF,MAAO,CACCJ,EACAI,OAIpB,SAASC,EAAYC,GACnB,IAAIC,EAAaD,EAAME,SACvB,OAAOC,EAAAA,cAAoBA,EAAAA,cAAgBZ,EAAWY,EAAAA,cAAoBC,EAAAA,EAAoB,CAC9EC,SAAUF,EAAAA,cAAoB,OAAQ,CAChCG,QAAS,mCACTC,KAAM,kBAEVJ,EAAAA,cAAoBK,EAAAA,GAAsB,CAC5CN,SAAUD,EACVM,KAAM,0BACNf,eAAgBA,EAChBI,aAAcA,KAIhCG,EAAYU,YAAc,eAE1B,IClDA,EDoDgBV","sources":["webpack://weblab-website/./lib/es6/src/pagesComponents/documentation/ChartjsLine.bs.js","webpack://weblab-website/./src/pages/documentation/guides_and_tutorials/chartjs_line.js"],"sourcesContent":["// Generated by ReScript, PLEASE EDIT WITH CARE\n\nimport * as React from \"react\";\nimport * as Belt_List from \"rescript/lib/es6/belt_List.js\";\nimport * as Belt_Array from \"rescript/lib/es6/belt_Array.js\";\nimport * as ReactHelmet from \"react-helmet\";\nimport * as Errors$Weblab from \"../../service/Errors.bs.js\";\nimport * as Belt_HashMapInt from \"rescript/lib/es6/belt_HashMapInt.js\";\nimport * as Notebook$Weblab from \"../../components/Notebook.bs.js\";\nimport * as NotebookBase$Weblab from \"../../components/NotebookBase.bs.js\";\nimport * as NotebookFormat$Weblab from \"../../service/NotebookFormat.bs.js\";\nimport Chartjs_lineJson from \"/src/notebooks/chartjs_line.json\";\n\nvar x = NotebookFormat$Weblab.convertNotebookJSONtoRESync(Chartjs_lineJson);\n\nvar welcomeNotebook;\n\nif (x.TAG === /* Ok */0) {\n welcomeNotebook = x._0;\n} else {\n alert(Errors$Weblab.getErrorMessage(x._0));\n welcomeNotebook = Belt_Array.make(1, NotebookBase$Weblab.defaultCell(undefined, undefined, undefined, undefined, undefined, undefined, undefined));\n}\n\nvar initialIndices = Belt_List.fromArray(Belt_Array.mapWithIndex(welcomeNotebook, (function (i, param) {\n return i;\n })));\n\nvar initialCells = Belt_HashMapInt.fromArray(Belt_Array.mapWithIndex(welcomeNotebook, (function (i, e) {\n return [\n i,\n e\n ];\n })));\n\nfunction ChartjsLine(Props) {\n var $$location = Props.location;\n return React.createElement(React.Fragment, undefined, React.createElement(ReactHelmet.Helmet, {\n children: React.createElement(\"meta\", {\n content: \"Create line plots with Chart.js.\",\n name: \"description\"\n })\n }), React.createElement(Notebook$Weblab.make, {\n location: $$location,\n name: \"chartjs_line_plot.ijsnb\",\n initialIndices: initialIndices,\n initialCells: initialCells\n }));\n}\n\nChartjsLine.displayName = \"TFJSExample1\";\n\nvar make = ChartjsLine;\n\nvar $$default = ChartjsLine;\n\nexport {\n welcomeNotebook ,\n initialIndices ,\n initialCells ,\n make ,\n $$default ,\n $$default as default,\n \n}\n/* x Not a pure module */\n","import ChartjsLine from '/lib/es6/src/pagesComponents/documentation/ChartjsLine.bs'\n\nexport default ChartjsLine;"],"names":["welcomeNotebook","x","NotebookFormat$Weblab","Chartjs_lineJson","TAG","_0","alert","Errors$Weblab","Belt_Array","NotebookBase$Weblab","undefined","initialIndices","Belt_List","i","param","initialCells","Belt_HashMapInt","e","ChartjsLine","Props","$$location","location","React","ReactHelmet","children","content","name","Notebook$Weblab","displayName"],"sourceRoot":""}