aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-05 03:34:42 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-05 03:34:42 -0700
commit9f7ae0e95f89b964a098eaacdfd89ff25e05c615 (patch)
tree0bfe8d04f4b11abdbea41fe9bf6e165eec8ebc4b /simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as
parentf5826105bfc514599b2c5b6692bca14ca4bc5d78 (diff)
downloadvolse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.gz
volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.bz2
volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.zip
Add simplepie
Diffstat (limited to 'simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as')
-rw-r--r--simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as12
1 files changed, 12 insertions, 0 deletions
diff --git a/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as b/simplepie/demo/for_the_demo/source_files/sIFR-r245/options.as
new file mode 100644
index 000000000..4d371954b
--- /dev/null
+++ b/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; }');
+ }
+}