Skip to content
Snippets Groups Projects
  • Andreas Gohr's avatar
    3825ddd3
    include_once support for javascript · 3825ddd3
    Andreas Gohr authored
    The include syntax was changed and enhanced by a include_once statement.
    
    Syntax:
    
    /* DOKUWIKI:include somefile.js */
    /* DOKUWIKI:include_once someotherfile.js */
    
    Note: include_once uses the basename of the inlcuded file to determine if
          it was previously loaded. You need to use something unique for it to
          make sure it is correctly loaded.
    
    Note: included files are not checked for updates by the cache logic. You
          need to touch the master file for updating the cache
    
    Note: includes are *not* supported inside included files to avoid any
          circular references
    
    darcs-hash:20070513222421-7ad00-d99d717ba8a428d0af2b3f7d593897e0467cb9c9.gz
    3825ddd3
    History
    include_once support for javascript
    Andreas Gohr authored
    The include syntax was changed and enhanced by a include_once statement.
    
    Syntax:
    
    /* DOKUWIKI:include somefile.js */
    /* DOKUWIKI:include_once someotherfile.js */
    
    Note: include_once uses the basename of the inlcuded file to determine if
          it was previously loaded. You need to use something unique for it to
          make sure it is correctly loaded.
    
    Note: included files are not checked for updates by the cache logic. You
          need to touch the master file for updating the cache
    
    Note: includes are *not* supported inside included files to avoid any
          circular references
    
    darcs-hash:20070513222421-7ad00-d99d717ba8a428d0af2b3f7d593897e0467cb9c9.gz
Code owners
Assign users and groups as approvers for specific file changes. Learn more.