BYK / av-jslib

Automatically exported from code.google.com/p/av-jslib
Other
1 stars 0 forks source link

Improved external file handling in aParser #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On which module this enhancement will be?
aV.

What is the enhancement exactly?
aParser module now automatically checks for a file according to the given
type and if the file exists, loads the rules from that file. This behavior
should be changed into a more flexible and standards compliant mode just
like JS or CSS file inclusion.

Why do you need this enhancement?
In the current system, it causes an additional AJAX request which usually
results in a 404 error. Also it does not allow using multiple files for
definition loading.

If you have any thoughts or suggestions for the implementation, please
write them below.
The implementation should respect the general CSS rule priorities which is
inline definitions>definitions in stlye block>definitions from file.
Object.prototype.unite might be useful to achieve this.

Original issue reported on code.google.com by madBYK on 20 Apr 2010 at 8:35

GoogleCodeExporter commented 9 years ago
The module name should be aV.main.aParser.js

Original comment by madBYK on 20 Apr 2010 at 8:37