Changes between Initial Version and Version 1 of Ticket #13916


Ignore:
Timestamp:
Sep 16, 2011, 2:26:41 AM (8 years ago)
Author:
Adam Peller
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13916 – Description

    initial v1  
    33Also, we wish to change the theme files on the fly after the code has loaded. Proposed solution: add an argument to loadDeviceTheme
    44
    5 We can already track which CSS files are loaded by adding advice to the loadCSSFile method, then removing those stylesheets from the DOM ourselves before calling loadDevice theme a second time with a different argument.
     5We can already track which CSS files are loaded by adding advice to the loadCSSFile method, then removing those stylesheets from the DOM ourselves before calling loadDevice theme a second time with a different argument.  The alternative would be asking loadThemeDevice to remember and remove old theme files for us.
    66
    77Two less critical concerns: 1) loadDeviceTheme seems to accumulate files if called repeatedly; rather than just adding iphone.css, it will add several copies. 2) the _compat code overrides loadCssFile, so depending on the order in which it's loaded, it may clobber our dojo.connect to the method