The "framework type annotation" is a special syntax written in js bundle to
indicate which framework it is using, such as Vue and Rax. Refer to its
document [1] the annotation looks like:
// { "framework": "Vue" }
or
// { "framework": "Rax" }
It's comment with special format actually, however, it is often been
removed by the many build tools while minify or uglify. It is fragile and
not standard.
I think we should use "Directive Prologues" [2] to indicate the framework
type of js bundle. This feature is used to declare the *strict model*. It
looks like:
"use weex:vue";
or
"use weex:rax";
Both ' (single quote) and " (double quotes) are fine. With or without
; (semicolon) is fine.
What do you think fellows?
[1]
http://weex-project.io/references/advanced/extend-jsfm.html#JS-Bundle-format-requirements
[2] http://ecma-international.org/ecma-262/5.1/#sec-14.1