On Sunday, 17 July 2016 12:35:39 UTC-6, Paul Masson wrote: > > Thanks for the information. Spent some time looking for the "components" > directory in the Sage repository to no avail. Now I know where it is. > > Feel free to add it to documentation or file comments if you wish, I certainly don't try to hide things intentionally! For comparison, here is the old Makefile which used to terrify me a bit: https://github.com/sagemath/sagecell/blob/last_ipython/Makefile
> There are a couple of lines in the Makefile that use the latest versions > of Require.js plugins. I assumed you had to use the latest of the main > library so as not to have conflicts, but the Jupyter notebook is still on > the last version. Guess that doesn't cause conflicts after all. > Downloading plugins seemed easier than including a fixed version into repository or dealing with submodules - offline built/usage is quite low priority (although I had to do it during Sage Days last August). They are rarely updated so I don't anticipate that things will break. > On Sunday, July 17, 2016 at 10:37:02 AM UTC-7, Andrey Novoseltsev wrote: >> >> On Saturday, 16 July 2016 19:54:53 UTC-6, Paul Masson wrote: >>> >>> Andrey, where can I see what version of CodeMirror is being used by >>> SageMathCell? From the Makefile I can see that Require.js is always the >>> latest, but I haven't found an equivalent indication for CodeMirror. Thanks >>> >> >> How could you see RequireJS version from the Makefile??? >> >> Most of the JavaScript stuff comes from >> >> https://github.com/sagemath/sagecell/blob/bec29d290408064a1b71acbd62dde01b3e14d07b/Makefile#L23 >> which copies Jupyter "notebook" files. They include almost everything we >> need including RequireJS and CodeMirror. So to figure out what version it >> is, you need to figure out which versions are used by the notebook bundled >> with Sage. >> >> My motivation for this approach - no need for keeping track of our own >> dependencies, upgrading them, and making sure that they work OK with each >> other. Presumably things make break during upgrades to new Sage versions, >> but in this case we will catch breaks early and they should be easier to >> fix that this time (which took me about half a year). >> > -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/e4f18e73-2a76-46ad-a344-098e2fd4f058%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
