Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRemove iframes where possible #213
Comments
|
Work without page:
Don't work without page:
NOTES:
@arschmitz @gabrielschulhof - Can you please check if this list is correct? |
|
Thanks! So I'll start working on this as soon as I get a chance now... Maybe this evening... |
|
If you want to search the code for where iframes are used in the documentation you could use something like: |
|
... from the root of the API docs repository. |
|
OK :-) Thanks |
|
just for the record, here's how this could look: |
|
Change of plan: we will use populated iframes instead no iframe at all to ensure that the jQuery Mobile CSS doesn't break the api docs style. This means that we need to modify https://github.com/jquery/grunt-jquery-content/blob/master/tasks/jquery-xml/entries2html-base.xsl so that the xsl produces what we need: similar to entry examples, without desc, without code in hte code section that is not in "begin-demo" ... "end-demo" for example, where an example would be:
|
Some widgets can now be used standalone and the corresponding iframes can be replaced by inline examples.