javascript-module"

From Documentation
(Created page with "{{ZKClient-sideReferencePageHeader}} =Version History= {{LastUpdated}} {| border='1px' | width="100%" ! Version !! Date !! Content |- |   |   |   |} {{ZKClient-s...")
 
m (correct highlight (via JWB))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{ZKClient-sideReferencePageHeader}}
 
{{ZKClient-sideReferencePageHeader}}
 +
 +
'''Syntax:'''
 +
<javascript-module name="''name''" version="''version''"/>
 +
 +
It specifies the version of a JavaScript module. The specified version will be associated with the URL used to load Javascript packages (such as <code>zul.db.wpd</code>), such that the browser will reload them if the version is changed.
 +
 +
The name is either a package or the prefix of it. It matches any package that starts with the given name. For example,
 +
 +
<source lang="xml">
 +
<javascript-module name="foo" version="1.5.0"/>
 +
</source>
 +
 +
Then, it matches the packages named <code>foo</code>, <code>foo.one</code>, <code>foo.another</code> or <code>foo.any.subpkg</code>.
 +
 +
If you have multiple packages that don't share the same prefix, you could specify multiple <code>&lt;javascript-module&gt;</code>.
 +
 +
=name=
 +
The name of the module. It should be the package name or the prefix of all packages it contains.
 +
 +
=version=
 +
The version of the module. Notice it cannot contain slash, and it must be legal to be part of URL. It is suggested to limit the use of number, alphabet, dash and dot.
  
 
=Version History=
 
=Version History=

Latest revision as of 07:44, 18 January 2022


Syntax:

<javascript-module name="name" version="version"/>

It specifies the version of a JavaScript module. The specified version will be associated with the URL used to load Javascript packages (such as zul.db.wpd), such that the browser will reload them if the version is changed.

The name is either a package or the prefix of it. It matches any package that starts with the given name. For example,

<javascript-module name="foo" version="1.5.0"/>

Then, it matches the packages named foo, foo.one, foo.another or foo.any.subpkg.

If you have multiple packages that don't share the same prefix, you could specify multiple <javascript-module>.

name

The name of the module. It should be the package name or the prefix of all packages it contains.

version

The version of the module. Notice it cannot contain slash, and it must be legal to be part of URL. It is suggested to limit the use of number, alphabet, dash and dot.

Version History

Last Update : 2022/01/18


Version Date Content
     



Last Update : 2022/01/18

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.