diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-08 18:50:10 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-08 18:50:10 +0200 |
commit | 31ae116fe4ab5cac3d2a85069adae2d211ecc846 (patch) | |
tree | 10c02f09fb0086b7553091fb73c299d9b294385d /3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as | |
parent | 83e8691308971680977b6e29d7c1fbd790e4eb16 (diff) |
migrated database, utility, bootstrap from appframework
Diffstat (limited to '3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as')
-rw-r--r-- | 3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as b/3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as new file mode 100644 index 000000000..4d371954b --- /dev/null +++ b/3rdparty/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as @@ -0,0 +1,12 @@ +// MTASC only parses as-files with class definitions, so here goes... +class Options { + public static function apply() { + sIFR.fromLocal = true; + sIFR.domains = ['*']; + + // Parsing `p.foo` might not work, see: <http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00001766.html> + // Appearantly you have to use hex color codes as well, names are not supported! + + sIFR.styles.parseCSS('.foo { text-decoration: underline; }'); + } +} |