This question is not an exact duplicate, it is a "translation hub" for non-obvious questions:
About core version: this question is about "How to check at runtime", but there are good answer at this other question: "How to find the exact version of D3 given the minified file?".
About module version: "D3 is a collection of modules" (see official D3 API documentation), module is the correct term, but you can use this question: "How to find out about loaded d3.js extensions and their versions at runtime?".
There is a property like d3.version for "core version"? or some "per module" property or method to check version? (imagining for example something like d3.csv.version)
The API docs show nothing about it.
PS: supposing that it is stable and can be checked for example in embedded D3 like Plotly.d3.
You're correct, you can figure out the version using d3.version.
Just checked using console.log(d3) to see all the methods and properties available, and version was listed.
Here's a fiddle: https://jsfiddle.net/3e42bxom/2/
Related
I'm struggling to learn how Thunderbird extension works but I'm stuck by the lack of documentation.
Inside an extension I found:
gFolderTreeView._modeNames...
...
gFolderTreeView.getFolderTreeMode(viewName);
Google gives no help in trying to understand something more about gFolderTreeView. I can only find examples where it is used but no API description. Where can I find the list of its methods, properties and a description of what they do ?
The only way I know would be to take a closer look at the Thunderbird source code.
gFolderTreeView is defined at https://dxr.mozilla.org/comm-central/source/mail/base/content/folderPane.js#129. The nsITreeView interface, which seems to be one of the thinks gFolderTreeView implements, is defined in https://dxr.mozilla.org/comm-central/source/mozilla/layout/xul/tree/nsITreeView.idl.
I found it by searching at https://dxr.mozilla.org/comm-central/ for id:gFolderTreeView and file:nsITreeView
Note that the links are to the latest sources. If you need to look at the sources for older Thunderbird versions, you need to switch the tree from comm-central to e.g. comm-esr45.
The Code that is used by both Thunderbird and Firefox is in the mozilla-central tree
From Robot framework documentation, I can see the keyword Wait Until Element Contains. I have the following keyword defined myself:
Wait for element content
[Arguments] ${elementti} ${teksti}
Wait Until Element Is Visible ${elementti}
Wait Until Element Contains ${elementti} ${teksti}
However, the following error is throw
No keyword with name 'Wait Until Element Contains' found. Did you mean:
Selenium2Library.Wait Until Title Not Contains
I'm using robotframework-maven-plugin 1.4.6
As correctly highlighted by #Todor the 1.4 version you're using is quite old. The combined Selenium and Robot java download hasn't been updated since 2015. In the combined 1.4 version the keyword you're seeking isn't found in the keyword documentation.
The current version of Robot Framework is 3.0.2. The current Jar version can be downloaded from Maven Central here. This does not contain the Selenium Browser automation and as such might not fulfill your need.
If you're familiar with Jython, then this road will allow you to install the Python version of Selenium2Library and thus be compatible. There are some good tutorials on SO to help you set this up.
I've seen it before, but I can't remember which project or which documentor they used (if any).
I'm pretty sure it was a JS project, probably a Node.JS module.
Anyhow, the documentation was listed by file, and each page displayed as 2 columns, one with the inline documentation, and the other with the code.
Does anyone know which tools allow for this?
"Annotated Documentation" is what I was trying to think of!
The tool was docco.
The above link is docco's documentation as documented using docco.
I am looking for documentation on the XML parser in ItextSharp, I heard there was a dtd years ago but this seems to be defunt. Does anyone know where I can find out all the valid tags and references?
I am using ItextSharp with Spark
Thanks
When in doubt, use the source. Poking around in my copy of the current iText source, I see that the only SimpleXMLDocHandler available is HTMLWorker.
And if you look at the source for HtmlTags.cs, you'll see all the tag and attribute constants HTMLWorker uses.
It's not exactly comprehensive, but is going to be getting some Enhancement in the immediate future.
I don't see a 4.1.2 tag, but there's one for 4.1.6 in the iTextSharp project on SF. It shows ITextHandler using a bunch of constants from ElementTag in HandleStartingTags(). It also uses ElementFactory to build the various supported tags. Looking at the source for each function will tell you which attributes it supports.
I'm trying to view the boost documentation at their website: http://www.boost.org/doc/
But it says Forbidden.
Any way I can download the documentation, or get past this error?
I'm getting a similar error from the front page for the link to the docs. However I vaguely remember that if you download the boost libraries, the tarball/zip contains a copy of the docs.
We've had some hosting problems related to the Boost documentation. Things should get resolved really soon. In fact at least the docs for the latest 2 releases are already up again (for me), see http://www.boost.org/doc/.