mdbe 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/LICENSE.txt +21 -0
- data/README.md +53 -0
- data/app.rb +182 -0
- data/bin/mdbe +5 -0
- data/config.ru +2 -0
- data/environment.rb +8 -0
- data/lib/mdbe.rb +39 -0
- data/lib/mdbe/action_controller_debug_patch.rb +12 -0
- data/lib/mdbe/code_evaluation.rb +46 -0
- data/lib/mdbe/database_views.rb +24 -0
- data/lib/mdbe/database_views/abstract_dictionary.rb +69 -0
- data/lib/mdbe/database_views/abstract_exception.rb +25 -0
- data/lib/mdbe/database_views/array.rb +28 -0
- data/lib/mdbe/database_views/boolean.rb +12 -0
- data/lib/mdbe/database_views/class.rb +46 -0
- data/lib/mdbe/database_views/exception.rb +3 -0
- data/lib/mdbe/database_views/execblock.rb +5 -0
- data/lib/mdbe/database_views/fixnum.rb +5 -0
- data/lib/mdbe/database_views/float.rb +5 -0
- data/lib/mdbe/database_views/globals.rb +2 -0
- data/lib/mdbe/database_views/gsnmethod.rb +29 -0
- data/lib/mdbe/database_views/hash.rb +5 -0
- data/lib/mdbe/database_views/maglev_record.rb +42 -0
- data/lib/mdbe/database_views/module.rb +103 -0
- data/lib/mdbe/database_views/nilclass.rb +5 -0
- data/lib/mdbe/database_views/object.rb +80 -0
- data/lib/mdbe/database_views/proc.rb +3 -0
- data/lib/mdbe/database_views/repository.rb +3 -0
- data/lib/mdbe/database_views/ruby_workspace.rb +5 -0
- data/lib/mdbe/database_views/smalltalk_classes.rb +34 -0
- data/lib/mdbe/database_views/smalltalk_classes.st +60 -0
- data/lib/mdbe/database_views/string.rb +31 -0
- data/lib/mdbe/database_views/symbol.rb +32 -0
- data/lib/mdbe/database_views/system.rb +61 -0
- data/lib/mdbe/database_views/thread.rb +101 -0
- data/lib/mdbe/debug_server.rb +22 -0
- data/lib/mdbe/halt.rb +42 -0
- data/lib/mdbe/ruby_workspace.rb +29 -0
- data/lib/mdbe/version.rb +3 -0
- data/lib/tasks/maglev-database-explorer_tasks.rake +4 -0
- data/public/LICENSE +35 -0
- data/public/amber/CHANGELOG +65 -0
- data/public/amber/LICENSE +22 -0
- data/public/amber/Makefile +53 -0
- data/public/amber/README.md +30 -0
- data/public/amber/bin/amber +3 -0
- data/public/amber/bin/amberc +352 -0
- data/public/amber/bin/nodecompile.js +33 -0
- data/public/amber/bin/server +3 -0
- data/public/amber/bin/server.bat +3 -0
- data/public/amber/css/amber-normalize.css +468 -0
- data/public/amber/css/amber-normalize.less +501 -0
- data/public/amber/css/amber.css +539 -0
- data/public/amber/css/documentation.css +84 -0
- data/public/amber/css/profstef.css +75 -0
- data/public/amber/css/style.css +313 -0
- data/public/amber/documentation.html +37 -0
- data/public/amber/examples/Makefile +23 -0
- data/public/amber/examples/README +4 -0
- data/public/amber/examples/android/helloamber/AndroidManifest.xml +19 -0
- data/public/amber/examples/android/helloamber/HelloAmber.st +13 -0
- data/public/amber/examples/android/helloamber/Makefile +56 -0
- data/public/amber/examples/android/helloamber/README.md +80 -0
- data/public/amber/examples/android/helloamber/ant.properties +17 -0
- data/public/amber/examples/android/helloamber/assets/index.html +15 -0
- data/public/amber/examples/android/helloamber/assets/jquery-1.7.2.min.js +4 -0
- data/public/amber/examples/android/helloamber/build.xml +83 -0
- data/public/amber/examples/android/helloamber/local.properties +10 -0
- data/public/amber/examples/android/helloamber/proguard-project.txt +20 -0
- data/public/amber/examples/android/helloamber/project.properties +14 -0
- data/public/amber/examples/android/helloamber/res/layout/main.xml +6 -0
- data/public/amber/examples/android/helloamber/res/values/strings.xml +4 -0
- data/public/amber/examples/android/helloamber/src/org/amberlang/android/helloamber/HelloAmber.java +59 -0
- data/public/amber/examples/myproject/index.html +16 -0
- data/public/amber/examples/nodejs/README +9 -0
- data/public/amber/examples/nodejs/benchfib/Benchfib.st +124 -0
- data/public/amber/examples/nodejs/benchfib/Makefile +8 -0
- data/public/amber/examples/nodejs/benchfib/benchfib +1 -0
- data/public/amber/examples/nodejs/hello/Hello.st +9 -0
- data/public/amber/examples/nodejs/hello/Makefile +8 -0
- data/public/amber/examples/nodejs/hello/README +13 -0
- data/public/amber/examples/nodejs/hello/hello +1 -0
- data/public/amber/examples/nodejs/meta/Makefile +8 -0
- data/public/amber/examples/nodejs/meta/MyScript.st +27 -0
- data/public/amber/examples/nodejs/meta/meta +1 -0
- data/public/amber/examples/nodejs/pystone/Makefile +8 -0
- data/public/amber/examples/nodejs/pystone/Pystone.st +306 -0
- data/public/amber/examples/nodejs/pystone/pystone +1 -0
- data/public/amber/examples/nodejs/trivialserver/Makefile +8 -0
- data/public/amber/examples/nodejs/trivialserver/TrivialServer.st +51 -0
- data/public/amber/examples/nodejs/trivialserver/trivial +1 -0
- data/public/amber/examples/presentation/esug2011/images/asterix.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/background_box.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/background_header.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/balloon.jpg +0 -0
- data/public/amber/examples/presentation/esug2011/images/balloon_header.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/devices.jpg +0 -0
- data/public/amber/examples/presentation/esug2011/images/enyo.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/ide_star_wars.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/nodejs.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/terminal.png +0 -0
- data/public/amber/examples/presentation/esug2011/images/webos.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/amber.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/ambrhino.jpg +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/nodejs.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/pharo.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/php.gif +0 -0
- data/public/amber/examples/presentation/fosdem2012/images/rails.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/arrow-next.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/arrow-prev.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/closedhand.cur +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/openhand.cur +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow-top-back.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow-top-forward.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow.png +0 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.css +100 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.js +1232 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.min.js +13 -0
- data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.easing.1.3.js +38 -0
- data/public/amber/examples/presentation/index.html +17 -0
- data/public/amber/examples/presentation/js/Presentation.deploy.js +1922 -0
- data/public/amber/examples/presentation/js/Presentation.js +2712 -0
- data/public/amber/examples/presentation/st/Presentation.st +1996 -0
- data/public/amber/examples/trysmalltalk/index.html +18 -0
- data/public/amber/examples/trysmalltalk/js/TrySmalltalk.deploy.js +837 -0
- data/public/amber/examples/trysmalltalk/js/TrySmalltalk.js +1206 -0
- data/public/amber/examples/trysmalltalk/st/TrySmalltalk.st +964 -0
- data/public/amber/examples/twitterwall/css/twitterwall.css +19 -0
- data/public/amber/examples/twitterwall/index.html +35 -0
- data/public/amber/examples/twitterwall/js/TwitterWall.deploy.js +116 -0
- data/public/amber/examples/twitterwall/js/TwitterWall.js +146 -0
- data/public/amber/examples/twitterwall/st/TwitterWall.st +91 -0
- data/public/amber/examples/webos/README +11 -0
- data/public/amber/examples/webos/eris/DuckQwaq.wav +0 -0
- data/public/amber/examples/webos/eris/EnyoAmber.st +36 -0
- data/public/amber/examples/webos/eris/Eris.css +0 -0
- data/public/amber/examples/webos/eris/Eris.st +86 -0
- data/public/amber/examples/webos/eris/Makefile +37 -0
- data/public/amber/examples/webos/eris/README +3 -0
- data/public/amber/examples/webos/eris/appinfo.json +10 -0
- data/public/amber/examples/webos/eris/index.html +12 -0
- data/public/amber/examples/webos/helloamber/EnyoAmber.st +36 -0
- data/public/amber/examples/webos/helloamber/HelloAmber.st +86 -0
- data/public/amber/examples/webos/helloamber/Makefile +38 -0
- data/public/amber/examples/webos/helloamber/README +5 -0
- data/public/amber/examples/webos/helloamber/appinfo.json +10 -0
- data/public/amber/examples/webos/helloamber/index.html +12 -0
- data/public/amber/favicon.ico +0 -0
- data/public/amber/images/amber.png +0 -0
- data/public/amber/images/amber.svg +706 -0
- data/public/amber/images/amber_small.png +0 -0
- data/public/amber/images/off.amber.png +0 -0
- data/public/amber/images/off.png +0 -0
- data/public/amber/images/offHover.amber.png +0 -0
- data/public/amber/images/offHover.png +0 -0
- data/public/amber/images/presentation.png +0 -0
- data/public/amber/images/profstef.png +0 -0
- data/public/amber/images/sprite.amber.png +0 -0
- data/public/amber/images/sprite.png +0 -0
- data/public/amber/images/tinylogo.amber.png +0 -0
- data/public/amber/images/tinylogo.png +0 -0
- data/public/amber/images/twitterwall.png +0 -0
- data/public/amber/index.html +55 -0
- data/public/amber/js/Additional-Examples.deploy.js +15 -0
- data/public/amber/js/Additional-Examples.js +21 -0
- data/public/amber/js/Benchfib.deploy.js +132 -0
- data/public/amber/js/Benchfib.js +167 -0
- data/public/amber/js/Canvas.deploy.js +2446 -0
- data/public/amber/js/Canvas.js +3547 -0
- data/public/amber/js/Compiler-Tests.deploy.js +97 -0
- data/public/amber/js/Compiler-Tests.js +137 -0
- data/public/amber/js/Compiler.deploy.js +1877 -0
- data/public/amber/js/Compiler.js +2622 -0
- data/public/amber/js/Documentation.deploy.js +961 -0
- data/public/amber/js/Documentation.js +1376 -0
- data/public/amber/js/Examples.deploy.js +53 -0
- data/public/amber/js/Examples.js +73 -0
- data/public/amber/js/IDE.deploy.js +3557 -0
- data/public/amber/js/IDE.js +5002 -0
- data/public/amber/js/Kernel-Announcements.deploy.js +107 -0
- data/public/amber/js/Kernel-Announcements.js +152 -0
- data/public/amber/js/Kernel-Classes.deploy.js +774 -0
- data/public/amber/js/Kernel-Classes.js +1095 -0
- data/public/amber/js/Kernel-Collections.deploy.js +3121 -0
- data/public/amber/js/Kernel-Collections.js +4427 -0
- data/public/amber/js/Kernel-Exceptions.deploy.js +244 -0
- data/public/amber/js/Kernel-Exceptions.js +349 -0
- data/public/amber/js/Kernel-Methods.deploy.js +573 -0
- data/public/amber/js/Kernel-Methods.js +807 -0
- data/public/amber/js/Kernel-Objects.deploy.js +2877 -0
- data/public/amber/js/Kernel-Objects.js +4107 -0
- data/public/amber/js/Kernel-Tests.deploy.js +1513 -0
- data/public/amber/js/Kernel-Tests.js +2053 -0
- data/public/amber/js/Kernel-Transcript.deploy.js +142 -0
- data/public/amber/js/Kernel-Transcript.js +202 -0
- data/public/amber/js/Maglev-Core.deploy.js +2996 -0
- data/public/amber/js/Maglev-Core.js +4246 -0
- data/public/amber/js/Maglev-Database-Explorer.deploy.js +4476 -0
- data/public/amber/js/Maglev-Database-Explorer.js +6232 -0
- data/public/amber/js/Maglev-Vendor.deploy.js +350 -0
- data/public/amber/js/Maglev-Vendor.js +465 -0
- data/public/amber/js/README.md +5 -0
- data/public/amber/js/SUnit.deploy.js +351 -0
- data/public/amber/js/SUnit.js +501 -0
- data/public/amber/js/amber.js +273 -0
- data/public/amber/js/boot.js +602 -0
- data/public/amber/js/compat.js +22 -0
- data/public/amber/js/init.js +9 -0
- data/public/amber/js/lib/CodeMirror/LICENSE +19 -0
- data/public/amber/js/lib/CodeMirror/active-line.js +39 -0
- data/public/amber/js/lib/CodeMirror/amber.css +21 -0
- data/public/amber/js/lib/CodeMirror/codemirror.css +67 -0
- data/public/amber/js/lib/CodeMirror/codemirror.js +2144 -0
- data/public/amber/js/lib/CodeMirror/smalltalk.js +134 -0
- data/public/amber/js/lib/jQuery/jquery-1.4.4.min.js +167 -0
- data/public/amber/js/lib/jQuery/jquery-1.6.4.min.js +4 -0
- data/public/amber/js/lib/jQuery/jquery-ui-1.8.16.custom.min.js +791 -0
- data/public/amber/js/lib/jQuery/jquery.textarea.js +267 -0
- data/public/amber/js/lib/peg-0.6.2.min.js +2 -0
- data/public/amber/js/lib/showdown.js +419 -0
- data/public/amber/js/parser.js +4222 -0
- data/public/amber/js/parser.pegjs +223 -0
- data/public/amber/learn.html +40 -0
- data/public/amber/repl/Makefile +8 -0
- data/public/amber/repl/REPL.js +124 -0
- data/public/amber/repl/REPL.st +56 -0
- data/public/amber/repl/amber.js +18085 -0
- data/public/amber/server/FileServer.st +576 -0
- data/public/amber/server/Makefile +8 -0
- data/public/amber/server/server.js +13049 -0
- data/public/amber/st/Benchfib.js +297 -0
- data/public/amber/st/Benchfib.st +124 -0
- data/public/amber/st/Canvas.st +968 -0
- data/public/amber/st/Compiler-Tests.st +471 -0
- data/public/amber/st/Compiler.st +1445 -0
- data/public/amber/st/Documentation.st +758 -0
- data/public/amber/st/Examples.js +100 -0
- data/public/amber/st/Examples.st +38 -0
- data/public/amber/st/IDE.st +2404 -0
- data/public/amber/st/Kernel-Announcements.st +61 -0
- data/public/amber/st/Kernel-Classes.st +462 -0
- data/public/amber/st/Kernel-Collections.st +1611 -0
- data/public/amber/st/Kernel-Exceptions.st +124 -0
- data/public/amber/st/Kernel-Methods.st +291 -0
- data/public/amber/st/Kernel-Objects.st +1587 -0
- data/public/amber/st/Kernel-Tests.st +953 -0
- data/public/amber/st/Kernel-Transcript.st +70 -0
- data/public/amber/st/Maglev-Core.st +1694 -0
- data/public/amber/st/Maglev-Database-Explorer.st +3148 -0
- data/public/amber/st/Maglev-Vendor.st +151 -0
- data/public/amber/st/Makefile +104 -0
- data/public/amber/st/README.md +4 -0
- data/public/amber/st/SUnit.st +172 -0
- data/public/css/bootstrap-combined.no-icons.min.css +731 -0
- data/public/css/bootstrap.css +6811 -0
- data/public/css/images/animated-overlay.gif +0 -0
- data/public/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/css/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/css/images/ui-icons_222222_256x240.png +0 -0
- data/public/css/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/css/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/css/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/css/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/css/jquery-ui.min.css +5 -0
- data/public/css/smalltalk_code.css +42 -0
- data/public/css/style.css +210 -0
- data/public/images/bg_tile.png +0 -0
- data/public/images/maglev-logo.gif +0 -0
- data/public/images/mchammer.gif +0 -0
- data/public/images/rails_tiny.png +0 -0
- data/public/images/ruby.png +0 -0
- data/public/images/ruby_smalltalk_bridge.png +0 -0
- data/public/images/smalltalk.png +0 -0
- data/public/img/glyphicons-halflings.png +0 -0
- data/public/index.html +118 -0
- data/public/libs/bootstrap.min.js +7 -0
- data/public/libs/codemirror/CONTRIBUTING.md +72 -0
- data/public/libs/codemirror/LICENSE +23 -0
- data/public/libs/codemirror/README.md +11 -0
- data/public/libs/codemirror/addon/dialog/dialog.css +32 -0
- data/public/libs/codemirror/addon/dialog/dialog.js +80 -0
- data/public/libs/codemirror/addon/display/placeholder.js +54 -0
- data/public/libs/codemirror/addon/edit/closebrackets.js +54 -0
- data/public/libs/codemirror/addon/edit/closetag.js +86 -0
- data/public/libs/codemirror/addon/edit/continuecomment.js +44 -0
- data/public/libs/codemirror/addon/edit/continuelist.js +25 -0
- data/public/libs/codemirror/addon/edit/matchbrackets.js +82 -0
- data/public/libs/codemirror/addon/fold/brace-fold.js +31 -0
- data/public/libs/codemirror/addon/fold/foldcode.js +32 -0
- data/public/libs/codemirror/addon/fold/indent-fold.js +11 -0
- data/public/libs/codemirror/addon/fold/xml-fold.js +64 -0
- data/public/libs/codemirror/addon/hint/html-hint.js +582 -0
- data/public/libs/codemirror/addon/hint/javascript-hint.js +142 -0
- data/public/libs/codemirror/addon/hint/pig-hint.js +117 -0
- data/public/libs/codemirror/addon/hint/python-hint.js +93 -0
- data/public/libs/codemirror/addon/hint/show-hint.css +38 -0
- data/public/libs/codemirror/addon/hint/show-hint.js +180 -0
- data/public/libs/codemirror/addon/hint/xml-hint.js +118 -0
- data/public/libs/codemirror/addon/lint/javascript-lint.js +127 -0
- data/public/libs/codemirror/addon/lint/json-lint.js +14 -0
- data/public/libs/codemirror/addon/lint/lint.css +96 -0
- data/public/libs/codemirror/addon/lint/lint.js +197 -0
- data/public/libs/codemirror/addon/mode/loadmode.js +51 -0
- data/public/libs/codemirror/addon/mode/multiplex.js +95 -0
- data/public/libs/codemirror/addon/mode/overlay.js +59 -0
- data/public/libs/codemirror/addon/runmode/colorize.js +29 -0
- data/public/libs/codemirror/addon/runmode/runmode-standalone.js +130 -0
- data/public/libs/codemirror/addon/runmode/runmode.js +52 -0
- data/public/libs/codemirror/addon/runmode/runmode.node.js +89 -0
- data/public/libs/codemirror/addon/search/match-highlighter.js +60 -0
- data/public/libs/codemirror/addon/search/search.js +131 -0
- data/public/libs/codemirror/addon/search/searchcursor.js +133 -0
- data/public/libs/codemirror/addon/selection/active-line.js +39 -0
- data/public/libs/codemirror/addon/selection/mark-selection.js +34 -0
- data/public/libs/codemirror/bin/compress +91 -0
- data/public/libs/codemirror/bin/lint +11 -0
- data/public/libs/codemirror/demo/activeline.html +70 -0
- data/public/libs/codemirror/demo/bidi.html +61 -0
- data/public/libs/codemirror/demo/btree.html +87 -0
- data/public/libs/codemirror/demo/buffers.html +98 -0
- data/public/libs/codemirror/demo/changemode.html +50 -0
- data/public/libs/codemirror/demo/closebrackets.html +63 -0
- data/public/libs/codemirror/demo/closetag.html +37 -0
- data/public/libs/codemirror/demo/complete.html +70 -0
- data/public/libs/codemirror/demo/emacs.html +60 -0
- data/public/libs/codemirror/demo/folding.html +69 -0
- data/public/libs/codemirror/demo/fullscreen.html +147 -0
- data/public/libs/codemirror/demo/html5complete.html +92 -0
- data/public/libs/codemirror/demo/indentwrap.html +49 -0
- data/public/libs/codemirror/demo/lint.html +90 -0
- data/public/libs/codemirror/demo/loadmode.html +40 -0
- data/public/libs/codemirror/demo/marker.html +59 -0
- data/public/libs/codemirror/demo/markselection.html +36 -0
- data/public/libs/codemirror/demo/matchhighlighter.html +38 -0
- data/public/libs/codemirror/demo/multiplex.html +60 -0
- data/public/libs/codemirror/demo/mustache.html +59 -0
- data/public/libs/codemirror/demo/placeholder.html +36 -0
- data/public/libs/codemirror/demo/preview.html +76 -0
- data/public/libs/codemirror/demo/resize.html +49 -0
- data/public/libs/codemirror/demo/runmode.html +50 -0
- data/public/libs/codemirror/demo/search.html +85 -0
- data/public/libs/codemirror/demo/spanaffectswrapping_shim.html +73 -0
- data/public/libs/codemirror/demo/theme.html +89 -0
- data/public/libs/codemirror/demo/variableheight.html +52 -0
- data/public/libs/codemirror/demo/vim.html +65 -0
- data/public/libs/codemirror/demo/visibletabs.html +53 -0
- data/public/libs/codemirror/demo/widget.html +74 -0
- data/public/libs/codemirror/demo/xmlcomplete.html +81 -0
- data/public/libs/codemirror/index.html +487 -0
- data/public/libs/codemirror/keymap/emacs.js +30 -0
- data/public/libs/codemirror/keymap/vim.js +3044 -0
- data/public/libs/codemirror/lib/codemirror.css +253 -0
- data/public/libs/codemirror/lib/codemirror.js +5585 -0
- data/public/libs/codemirror/mode/apl/apl.js +160 -0
- data/public/libs/codemirror/mode/apl/index.html +61 -0
- data/public/libs/codemirror/mode/asterisk/asterisk.js +183 -0
- data/public/libs/codemirror/mode/asterisk/index.html +142 -0
- data/public/libs/codemirror/mode/clike/clike.js +302 -0
- data/public/libs/codemirror/mode/clike/index.html +103 -0
- data/public/libs/codemirror/mode/clike/scala.html +767 -0
- data/public/libs/codemirror/mode/clojure/clojure.js +222 -0
- data/public/libs/codemirror/mode/clojure/index.html +76 -0
- data/public/libs/codemirror/mode/coffeescript/LICENSE +22 -0
- data/public/libs/codemirror/mode/coffeescript/coffeescript.js +346 -0
- data/public/libs/codemirror/mode/coffeescript/index.html +728 -0
- data/public/libs/codemirror/mode/commonlisp/commonlisp.js +101 -0
- data/public/libs/codemirror/mode/commonlisp/index.html +165 -0
- data/public/libs/codemirror/mode/css/css.js +567 -0
- data/public/libs/codemirror/mode/css/index.html +58 -0
- data/public/libs/codemirror/mode/css/scss.html +145 -0
- data/public/libs/codemirror/mode/css/scss_test.js +80 -0
- data/public/libs/codemirror/mode/css/test.js +113 -0
- data/public/libs/codemirror/mode/d/d.js +205 -0
- data/public/libs/codemirror/mode/d/index.html +262 -0
- data/public/libs/codemirror/mode/diff/diff.js +32 -0
- data/public/libs/codemirror/mode/diff/index.html +105 -0
- data/public/libs/codemirror/mode/ecl/ecl.js +192 -0
- data/public/libs/codemirror/mode/ecl/index.html +39 -0
- data/public/libs/codemirror/mode/erlang/erlang.js +463 -0
- data/public/libs/codemirror/mode/erlang/index.html +64 -0
- data/public/libs/codemirror/mode/gas/gas.js +326 -0
- data/public/libs/codemirror/mode/gas/index.html +57 -0
- data/public/libs/codemirror/mode/gfm/gfm.js +96 -0
- data/public/libs/codemirror/mode/gfm/index.html +74 -0
- data/public/libs/codemirror/mode/gfm/test.js +112 -0
- data/public/libs/codemirror/mode/go/go.js +165 -0
- data/public/libs/codemirror/mode/go/index.html +74 -0
- data/public/libs/codemirror/mode/groovy/groovy.js +210 -0
- data/public/libs/codemirror/mode/groovy/index.html +73 -0
- data/public/libs/codemirror/mode/haskell/haskell.js +242 -0
- data/public/libs/codemirror/mode/haskell/index.html +62 -0
- data/public/libs/codemirror/mode/haxe/haxe.js +429 -0
- data/public/libs/codemirror/mode/haxe/index.html +90 -0
- data/public/libs/codemirror/mode/htmlembedded/htmlembedded.js +73 -0
- data/public/libs/codemirror/mode/htmlembedded/index.html +49 -0
- data/public/libs/codemirror/mode/htmlmixed/htmlmixed.js +104 -0
- data/public/libs/codemirror/mode/htmlmixed/index.html +73 -0
- data/public/libs/codemirror/mode/http/http.js +98 -0
- data/public/libs/codemirror/mode/http/index.html +32 -0
- data/public/libs/codemirror/mode/javascript/index.html +92 -0
- data/public/libs/codemirror/mode/javascript/javascript.js +467 -0
- data/public/libs/codemirror/mode/javascript/typescript.html +48 -0
- data/public/libs/codemirror/mode/jinja2/index.html +38 -0
- data/public/libs/codemirror/mode/jinja2/jinja2.js +42 -0
- data/public/libs/codemirror/mode/less/index.html +741 -0
- data/public/libs/codemirror/mode/less/less.js +266 -0
- data/public/libs/codemirror/mode/livescript/LICENSE +23 -0
- data/public/libs/codemirror/mode/livescript/index.html +446 -0
- data/public/libs/codemirror/mode/livescript/livescript.js +267 -0
- data/public/libs/codemirror/mode/livescript/livescript.ls +266 -0
- data/public/libs/codemirror/mode/lua/index.html +74 -0
- data/public/libs/codemirror/mode/lua/lua.js +140 -0
- data/public/libs/codemirror/mode/markdown/index.html +344 -0
- data/public/libs/codemirror/mode/markdown/markdown.js +526 -0
- data/public/libs/codemirror/mode/markdown/test.js +636 -0
- data/public/libs/codemirror/mode/meta.js +75 -0
- data/public/libs/codemirror/mode/mirc/index.html +149 -0
- data/public/libs/codemirror/mode/mirc/mirc.js +177 -0
- data/public/libs/codemirror/mode/ntriples/index.html +33 -0
- data/public/libs/codemirror/mode/ntriples/ntriples.js +170 -0
- data/public/libs/codemirror/mode/ocaml/index.html +131 -0
- data/public/libs/codemirror/mode/ocaml/ocaml.js +113 -0
- data/public/libs/codemirror/mode/pascal/LICENSE +7 -0
- data/public/libs/codemirror/mode/pascal/index.html +48 -0
- data/public/libs/codemirror/mode/pascal/pascal.js +94 -0
- data/public/libs/codemirror/mode/perl/LICENSE +19 -0
- data/public/libs/codemirror/mode/perl/index.html +62 -0
- data/public/libs/codemirror/mode/perl/perl.js +816 -0
- data/public/libs/codemirror/mode/php/index.html +51 -0
- data/public/libs/codemirror/mode/php/php.js +129 -0
- data/public/libs/codemirror/mode/pig/index.html +42 -0
- data/public/libs/codemirror/mode/pig/pig.js +171 -0
- data/public/libs/codemirror/mode/properties/index.html +41 -0
- data/public/libs/codemirror/mode/properties/properties.js +63 -0
- data/public/libs/codemirror/mode/python/LICENSE.txt +21 -0
- data/public/libs/codemirror/mode/python/index.html +135 -0
- data/public/libs/codemirror/mode/python/python.js +340 -0
- data/public/libs/codemirror/mode/q/index.html +131 -0
- data/public/libs/codemirror/mode/q/q.js +124 -0
- data/public/libs/codemirror/mode/r/LICENSE +24 -0
- data/public/libs/codemirror/mode/r/index.html +74 -0
- data/public/libs/codemirror/mode/r/r.js +141 -0
- data/public/libs/codemirror/mode/rpm/changes/changes.js +19 -0
- data/public/libs/codemirror/mode/rpm/changes/index.html +53 -0
- data/public/libs/codemirror/mode/rpm/spec/index.html +99 -0
- data/public/libs/codemirror/mode/rpm/spec/spec.css +5 -0
- data/public/libs/codemirror/mode/rpm/spec/spec.js +66 -0
- data/public/libs/codemirror/mode/rst/LICENSE.txt +21 -0
- data/public/libs/codemirror/mode/rst/index.html +524 -0
- data/public/libs/codemirror/mode/rst/rst.js +550 -0
- data/public/libs/codemirror/mode/ruby/LICENSE +24 -0
- data/public/libs/codemirror/mode/ruby/index.html +173 -0
- data/public/libs/codemirror/mode/ruby/ruby.js +197 -0
- data/public/libs/codemirror/mode/rust/index.html +48 -0
- data/public/libs/codemirror/mode/rust/rust.js +432 -0
- data/public/libs/codemirror/mode/sass/index.html +54 -0
- data/public/libs/codemirror/mode/sass/sass.js +349 -0
- data/public/libs/codemirror/mode/scheme/index.html +65 -0
- data/public/libs/codemirror/mode/scheme/scheme.js +230 -0
- data/public/libs/codemirror/mode/shell/index.html +51 -0
- data/public/libs/codemirror/mode/shell/shell.js +118 -0
- data/public/libs/codemirror/mode/sieve/LICENSE +19 -0
- data/public/libs/codemirror/mode/sieve/index.html +81 -0
- data/public/libs/codemirror/mode/sieve/sieve.js +183 -0
- data/public/libs/codemirror/mode/smalltalk/index.html +57 -0
- data/public/libs/codemirror/mode/smalltalk/smalltalk.js +141 -0
- data/public/libs/codemirror/mode/smarty/index.html +83 -0
- data/public/libs/codemirror/mode/smarty/smarty.js +148 -0
- data/public/libs/codemirror/mode/sparql/index.html +42 -0
- data/public/libs/codemirror/mode/sparql/sparql.js +143 -0
- data/public/libs/codemirror/mode/sql/index.html +68 -0
- data/public/libs/codemirror/mode/sql/sql.js +268 -0
- data/public/libs/codemirror/mode/stex/index.html +98 -0
- data/public/libs/codemirror/mode/stex/stex.js +246 -0
- data/public/libs/codemirror/mode/stex/test.js +117 -0
- data/public/libs/codemirror/mode/tcl/index.html +129 -0
- data/public/libs/codemirror/mode/tcl/tcl.js +131 -0
- data/public/libs/codemirror/mode/tiddlywiki/index.html +142 -0
- data/public/libs/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
- data/public/libs/codemirror/mode/tiddlywiki/tiddlywiki.js +353 -0
- data/public/libs/codemirror/mode/tiki/index.html +81 -0
- data/public/libs/codemirror/mode/tiki/tiki.css +26 -0
- data/public/libs/codemirror/mode/tiki/tiki.js +308 -0
- data/public/libs/codemirror/mode/turtle/index.html +39 -0
- data/public/libs/codemirror/mode/turtle/turtle.js +145 -0
- data/public/libs/codemirror/mode/vb/LICENSE.txt +21 -0
- data/public/libs/codemirror/mode/vb/index.html +88 -0
- data/public/libs/codemirror/mode/vb/vb.js +259 -0
- data/public/libs/codemirror/mode/vbscript/index.html +42 -0
- data/public/libs/codemirror/mode/vbscript/vbscript.js +26 -0
- data/public/libs/codemirror/mode/velocity/index.html +103 -0
- data/public/libs/codemirror/mode/velocity/velocity.js +144 -0
- data/public/libs/codemirror/mode/verilog/index.html +121 -0
- data/public/libs/codemirror/mode/verilog/verilog.js +182 -0
- data/public/libs/codemirror/mode/xml/index.html +45 -0
- data/public/libs/codemirror/mode/xml/xml.js +328 -0
- data/public/libs/codemirror/mode/xquery/LICENSE +20 -0
- data/public/libs/codemirror/mode/xquery/index.html +221 -0
- data/public/libs/codemirror/mode/xquery/test.js +64 -0
- data/public/libs/codemirror/mode/xquery/xquery.js +450 -0
- data/public/libs/codemirror/mode/yaml/index.html +68 -0
- data/public/libs/codemirror/mode/yaml/yaml.js +95 -0
- data/public/libs/codemirror/mode/z80/index.html +39 -0
- data/public/libs/codemirror/mode/z80/z80.js +85 -0
- data/public/libs/codemirror/package.json +21 -0
- data/public/libs/codemirror/test/doc_test.js +329 -0
- data/public/libs/codemirror/test/driver.js +138 -0
- data/public/libs/codemirror/test/index.html +182 -0
- data/public/libs/codemirror/test/lint/acorn.js +1593 -0
- data/public/libs/codemirror/test/lint/lint.js +112 -0
- data/public/libs/codemirror/test/lint/parse-js.js +1372 -0
- data/public/libs/codemirror/test/lint/walk.js +216 -0
- data/public/libs/codemirror/test/mode_test.css +10 -0
- data/public/libs/codemirror/test/mode_test.js +192 -0
- data/public/libs/codemirror/test/phantom_driver.js +31 -0
- data/public/libs/codemirror/test/run.js +33 -0
- data/public/libs/codemirror/test/test.js +1400 -0
- data/public/libs/codemirror/test/vim_test.js +1688 -0
- data/public/libs/codemirror/theme/ambiance-mobile.css +5 -0
- data/public/libs/codemirror/theme/ambiance.css +75 -0
- data/public/libs/codemirror/theme/blackboard.css +25 -0
- data/public/libs/codemirror/theme/cobalt.css +18 -0
- data/public/libs/codemirror/theme/eclipse.css +25 -0
- data/public/libs/codemirror/theme/elegant.css +10 -0
- data/public/libs/codemirror/theme/erlang-dark.css +21 -0
- data/public/libs/codemirror/theme/lesser-dark.css +44 -0
- data/public/libs/codemirror/theme/midnight.css +52 -0
- data/public/libs/codemirror/theme/monokai.css +28 -0
- data/public/libs/codemirror/theme/neat.css +9 -0
- data/public/libs/codemirror/theme/night.css +21 -0
- data/public/libs/codemirror/theme/rubyblue.css +21 -0
- data/public/libs/codemirror/theme/solarized.css +207 -0
- data/public/libs/codemirror/theme/twilight.css +26 -0
- data/public/libs/codemirror/theme/vibrant-ink.css +27 -0
- data/public/libs/codemirror/theme/xq-dark.css +46 -0
- data/public/libs/codemirror/theme/xq-light.css +43 -0
- data/public/libs/font-awesome/css/font-awesome-ie7.css +983 -0
- data/public/libs/font-awesome/css/font-awesome-ie7.min.css +24 -0
- data/public/libs/font-awesome/css/font-awesome.css +1268 -0
- data/public/libs/font-awesome/css/font-awesome.min.css +24 -0
- data/public/libs/font-awesome/font/FontAwesome.otf +0 -0
- data/public/libs/font-awesome/font/fontawesome-webfont.eot +0 -0
- data/public/libs/font-awesome/font/fontawesome-webfont.svg +339 -0
- data/public/libs/font-awesome/font/fontawesome-webfont.ttf +0 -0
- data/public/libs/font-awesome/font/fontawesome-webfont.woff +0 -0
- data/public/libs/font-awesome/less/bootstrap.less +78 -0
- data/public/libs/font-awesome/less/core.less +132 -0
- data/public/libs/font-awesome/less/extras.less +79 -0
- data/public/libs/font-awesome/less/font-awesome-ie7.less +413 -0
- data/public/libs/font-awesome/less/font-awesome.less +32 -0
- data/public/libs/font-awesome/less/icons.less +330 -0
- data/public/libs/font-awesome/less/mixins.less +34 -0
- data/public/libs/font-awesome/less/path.less +15 -0
- data/public/libs/font-awesome/less/variables.less +9 -0
- data/public/libs/jquery-1.10.0.min.js +6 -0
- data/public/libs/jquery-ui.min.js +12 -0
- data/public/libs/jquery.jsPlumb-1.4.0-all.js +9571 -0
- data/public/libs/jquery.livequery.js +226 -0
- data/public/libs/jsPlumbInitializer.js +72 -0
- data/public/libs/jstree/README.txt +10 -0
- data/public/libs/jstree/_demo/_dump.sql +20 -0
- data/public/libs/jstree/_demo/_inc/__mysql_errors.log +0 -0
- data/public/libs/jstree/_demo/_inc/class._database.php +146 -0
- data/public/libs/jstree/_demo/_inc/class._database_i.php +152 -0
- data/public/libs/jstree/_demo/_inc/class.tree.php +602 -0
- data/public/libs/jstree/_demo/_install.txt +6 -0
- data/public/libs/jstree/_demo/config.php +14 -0
- data/public/libs/jstree/_demo/file.png +0 -0
- data/public/libs/jstree/_demo/folder.png +0 -0
- data/public/libs/jstree/_demo/index.html +461 -0
- data/public/libs/jstree/_demo/root.png +0 -0
- data/public/libs/jstree/_demo/server.php +69 -0
- data/public/libs/jstree/_docs/!style.css +48 -0
- data/public/libs/jstree/_docs/_drive.png +0 -0
- data/public/libs/jstree/_docs/_html_data.html +2 -0
- data/public/libs/jstree/_docs/_json_data.json +4 -0
- data/public/libs/jstree/_docs/_search_data.json +6 -0
- data/public/libs/jstree/_docs/_search_result.json +1 -0
- data/public/libs/jstree/_docs/_xml_flat.xml +12 -0
- data/public/libs/jstree/_docs/_xml_nest.xml +18 -0
- data/public/libs/jstree/_docs/checkbox.html +171 -0
- data/public/libs/jstree/_docs/contextmenu.html +121 -0
- data/public/libs/jstree/_docs/cookies.html +97 -0
- data/public/libs/jstree/_docs/core.html +689 -0
- data/public/libs/jstree/_docs/crrm.html +316 -0
- data/public/libs/jstree/_docs/dnd.html +199 -0
- data/public/libs/jstree/_docs/hotkeys.html +82 -0
- data/public/libs/jstree/_docs/html_data.html +175 -0
- data/public/libs/jstree/_docs/index.html +86 -0
- data/public/libs/jstree/_docs/json_data.html +249 -0
- data/public/libs/jstree/_docs/languages.html +152 -0
- data/public/libs/jstree/_docs/logo.png +0 -0
- data/public/libs/jstree/_docs/search.html +153 -0
- data/public/libs/jstree/_docs/sort.html +85 -0
- data/public/libs/jstree/_docs/syntax/!script.js +2232 -0
- data/public/libs/jstree/_docs/syntax/!style.css +511 -0
- data/public/libs/jstree/_docs/syntax/clipboard.swf +0 -0
- data/public/libs/jstree/_docs/syntax/help.png +0 -0
- data/public/libs/jstree/_docs/syntax/magnifier.png +0 -0
- data/public/libs/jstree/_docs/syntax/page_white_code.png +0 -0
- data/public/libs/jstree/_docs/syntax/page_white_copy.png +0 -0
- data/public/libs/jstree/_docs/syntax/printer.png +0 -0
- data/public/libs/jstree/_docs/syntax/wrapping.png +0 -0
- data/public/libs/jstree/_docs/themeroller.html +107 -0
- data/public/libs/jstree/_docs/themes.html +127 -0
- data/public/libs/jstree/_docs/types.html +178 -0
- data/public/libs/jstree/_docs/ui.html +197 -0
- data/public/libs/jstree/_docs/unique.html +85 -0
- data/public/libs/jstree/_docs/xml_data.html +218 -0
- data/public/libs/jstree/_lib/jquery.cookie.js +96 -0
- data/public/libs/jstree/_lib/jquery.hotkeys.js +99 -0
- data/public/libs/jstree/_lib/jquery.js +5 -0
- data/public/libs/jstree/jquery.jstree.js +4564 -0
- data/public/libs/jstree/themes/apple/bg.jpg +0 -0
- data/public/libs/jstree/themes/apple/d.png +0 -0
- data/public/libs/jstree/themes/apple/dot_for_ie.gif +0 -0
- data/public/libs/jstree/themes/apple/style.css +61 -0
- data/public/libs/jstree/themes/apple/throbber.gif +0 -0
- data/public/libs/jstree/themes/classic/d.gif +0 -0
- data/public/libs/jstree/themes/classic/d.png +0 -0
- data/public/libs/jstree/themes/classic/dot_for_ie.gif +0 -0
- data/public/libs/jstree/themes/classic/style.css +77 -0
- data/public/libs/jstree/themes/classic/throbber.gif +0 -0
- data/public/libs/jstree/themes/default-rtl/d.gif +0 -0
- data/public/libs/jstree/themes/default-rtl/d.png +0 -0
- data/public/libs/jstree/themes/default-rtl/dots.gif +0 -0
- data/public/libs/jstree/themes/default-rtl/style.css +84 -0
- data/public/libs/jstree/themes/default-rtl/throbber.gif +0 -0
- data/public/libs/jstree/themes/default/d.gif +0 -0
- data/public/libs/jstree/themes/default/d.png +0 -0
- data/public/libs/jstree/themes/default/style.css +74 -0
- data/public/libs/jstree/themes/default/throbber.gif +0 -0
- data/public/themes/geo-bootstrap/README.md +25 -0
- data/public/themes/geo-bootstrap/img/flames.gif +0 -0
- data/public/themes/geo-bootstrap/img/glyphicons-halflings-white.png +0 -0
- data/public/themes/geo-bootstrap/img/glyphicons-halflings.png +0 -0
- data/public/themes/geo-bootstrap/img/microfab.gif +0 -0
- data/public/themes/geo-bootstrap/img/progress.gif +0 -0
- data/public/themes/geo-bootstrap/img/rainbow.gif +0 -0
- data/public/themes/geo-bootstrap/img/stars.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/7upspot.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/americanflag.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/community.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/computer-01.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/computer.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/construction.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/counter.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/counter2.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/divider.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/divider1.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/divider2.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/divider3.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/divider4.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/drudgesiren.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/emailme.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/funky.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/geocities.jpg +0 -0
- data/public/themes/geo-bootstrap/img/test/hacker.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/heart.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/hot.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/ie_logo.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/mailkitten.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/mchammer.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/new.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/new2.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/noframes.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/notepad.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/ns_logo.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/sign-in.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/spinningearth.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/underconstruction.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/wabwalk.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/webtrips.gif +0 -0
- data/public/themes/geo-bootstrap/img/test/yahooweek.gif +0 -0
- data/public/themes/geo-bootstrap/package.json +21 -0
- data/public/themes/geo-bootstrap/swatch/bootstrap-responsive.css +1109 -0
- data/public/themes/geo-bootstrap/swatch/bootstrap-responsive.min.css +9 -0
- data/public/themes/geo-bootstrap/swatch/bootstrap.css +6462 -0
- data/public/themes/geo-bootstrap/swatch/bootstrap.min.css +9 -0
- metadata +791 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery Booklet Plugin
|
3
|
+
* Copyright (c) 2010 W. Grauvogel (http://builtbywill.com/)
|
4
|
+
*
|
5
|
+
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
|
6
|
+
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
|
7
|
+
*
|
8
|
+
* Version : 1.2.0
|
9
|
+
*
|
10
|
+
* Originally based on the work of:
|
11
|
+
* 1) Charles Mangin (http://clickheredammit.com/pageflip/)
|
12
|
+
*/
|
13
|
+
(function(b){b.fn.booklet=function(c){var d=b.extend({},b.fn.booklet.defaults,c);return b(this).each(function(){var j,e,h,k,f,g;if(typeof c=="string"){if(b(this).data("booklet")){j=c.toLowerCase();h=b.fn.booklet.interfaces[b(this).data("id")];if(j=="next"){h.next()}else{if(j=="prev"){h.prev()}}}}else{if(typeof c=="number"){if(b(this).data("booklet")){g=c;h=b.fn.booklet.interfaces[b(this).data("id")];if(g%2!=0){g-=1}h.gotoPage(g)}}else{e=b.extend(true,{},d);k=b.fn.booklet.interfaces.length;for(f=0;f<k;f++){if(typeof b.fn.booklet.interfaces[f]=="undefined"){k=f;break}}h=new a(b(this),e,k);b.fn.booklet.interfaces[k]=h}}})};function a(ak,an,N){var aA,aH,Z,G,V,R,O,K,t,am,ar,I,U,T,aa,e,aI=new Array(),Q=new Array(),L,aj,ai,ag,ae,ac,aK,aq,P,y,c,aD,ay,aJ,aL,ao,n,al,aB,v,ax,av,Y,au,at,r,J,H,ap,E,f,d,q,af,w,B,x,az,C,o,A,W,s,aG,z,l,aC='<div class="b-page-empty" title="" rel=""></div>',aF='<div class="b-page-blank" title="" rel=""></div>';am=false;e=false;ar=false;I=U=false;aA=this;aA.options=an;aA.id=N;aA.hash="";aH=aA.options;Z=ak.addClass("booklet");G=Z.children(".b-load");m();Z.data("booklet",true);Z.data("id",N);Z.data("total",G.children().length);if(!aH.width){aH.width=Z.width()}else{if(typeof aH.width=="string"&&aH.width.indexOf("%")!=-1){aH.wPercent=true;aH.wOrig=aH.width;aH.width=(aH.width.replace("%","")/100)*parseFloat(Z.parent().css("width"))}}if(!aH.height){aH.height=Z.height()}else{if(typeof aH.height=="string"&&aH.height.indexOf("%")!=-1){aH.hPercent=true;aH.hOrig=aH.height;aH.height=(aH.height.replace("%","")/100)*parseFloat(Z.parent().css("height"))}}Z.width(aH.width);Z.height(aH.height);aH.pWidth=aH.width/2;aH.pWidthN="-"+(aH.pWidth)+"px";aH.pWidthH=aH.pWidth/2;aH.pHeight=aH.height;aH.pTotal=G.children().length;aH.speedH=aH.speed/2;if(aH.direction=="LTR"){aH.curr=0}else{if(aH.direction=="RTL"){aH.curr=aH.pTotal-2}}if(!isNaN(aH.startingPage)&&aH.startingPage<=aH.pTotal&&aH.startingPage>0){if((aH.startingPage%2)!=0){aH.startingPage--}aH.curr=aH.startingPage}if(aH.closed&&aH.autoCenter){if(aH.curr==0){Z.width(aH.pWidth)}else{if(aH.curr>=aH.pTotal-2){Z.width(aH.pWidth)}}}if(aH.name){document.title=aH.name}else{aH.name=document.title}if(aH.shadows){aH.shadowTopFwdWidth="-"+aH.shadowTopFwdWidth+"px";aH.shadowTopBackWidth="-"+aH.shadowTopBackWidth+"px"}if(aH.menu){q=b(aH.menu).addClass("b-menu");K=aH.curr;if(aH.pageSelector){w=b('<div class="b-selector b-selector-page"><span class="b-current">'+(K+1)+" - "+(K+2)+"</span></div>").appendTo(q);B=b("<ul></ul>").appendTo(w).empty().css("height","auto");for(R=0;R<aH.pTotal;R+=2){O=R;nums=(O+1)+"-"+(O+2);if(aH.closed){O--;if(R==0){nums="1"}else{if(R==aH.pTotal-2){nums=aH.pTotal-2}else{nums=(O+1)+"-"+(O+2)}}if(aH.covers){O--;if(R==0){nums=""}else{if(R==aH.pTotal-2){nums=""}else{nums=(O+1)+"-"+(O+2)}}}}if(aH.direction=="RTL"){nums=(Math.abs(O-aH.pTotal)-1)+" - "+((Math.abs(O-aH.pTotal)));if(aH.closed){if(R==aH.pTotal-2){nums="1"}else{if(R==0){nums=aH.pTotal-2}else{nums=(Math.abs(O-aH.pTotal)-3)+" - "+((Math.abs(O-aH.pTotal)-2))}}if(aH.covers){if(R==aH.pTotal-2){nums=""}else{if(R==0){nums=""}else{nums=(Math.abs(O-aH.pTotal)-5)+" - "+((Math.abs(O-aH.pTotal)-4))}}}}w.find(".b-current").text(nums);az=b('<li><a href="#/page/'+(R+1)+'" id="selector-page-'+R+'"><span class="b-text">'+aI[R+1]+'</span><span class="b-num">'+nums+"</span></a></li>").prependTo(B)}else{if(R==0){w.find(".b-current").text(nums)}az=b('<li><a href="#/page/'+(R+1)+'" id="selector-page-'+R+'"><span class="b-text">'+aI[R]+'</span><span class="b-num">'+nums+"</span></a></li>").appendTo(B)}C=az.find("a");if(!aH.hash){C.click(function(){if(aH.direction=="RTL"){w.find(".b-current").text(b(this).find(".b-num").text())}o=parseInt(b(this).attr("id").replace("selector-page-",""));aA.gotoPage(o);return false})}}x=B.height();B.css({height:0,"padding-bottom":0});w.unbind("hover").hover(function(){B.stop().animate({height:x,paddingBottom:10},500)},function(){B.stop().animate({height:0,paddingBottom:0},500)})}if(aH.chapterSelector){af=Q[aH.curr];if(af==""){af=Q[aH.curr+1]}A=b('<div class="b-selector b-selector-chapter"><span class="b-current">'+af+"</span></div>").appendTo(q);W=b("<ul></ul>").appendTo(A).empty().css("height","auto");for(R=0;R<aH.pTotal;R+=1){if(Q[R]!=""&&typeof Q[R]!="undefined"){if(aH.direction=="RTL"){O=R;if(O%2!=0){O--}A.find(".b-current").text(Q[R]);aG=b('<li><a href="#/page/'+(O+1)+'" id="selector-page-'+(O)+'"><span class="b-text">'+Q[R]+"</span></a></li>").prependTo(W)}else{aG=b('<li><a href="#/page/'+(R+1)+'" id="selector-page-'+R+'"><span class="b-text">'+Q[R]+"</span></a></li>").appendTo(W)}z=aG.find("a");if(!aH.hash){z.click(function(){if(aH.direction=="RTL"){A.find(".b-current").text(b(this).find(".b-text").text())}l=parseInt(b(this).attr("id").replace("selector-page-",""));aA.gotoPage(l);return false})}}}s=W.height();W.css({height:0,"padding-bottom":0});A.unbind("hover").hover(function(){W.stop().animate({height:s,paddingBottom:10},500)},function(){W.stop().animate({height:0,paddingBottom:0},500)})}}b.extend(aA,{next:function(){if(!am){aA.gotoPage(aH.curr+2)}},prev:function(){if(!am){aA.gotoPage(aH.curr-2)}},gotoPage:function(h){if(h>aH.curr&&h<aH.pTotal&&h>=0&&!am){am=true;t=h-aH.curr;aH.curr=h;aH.before.call(aA,aH);aE();F();S(aH.curr+1,aH);X(t,true,aJ);if(aH.closed&&aH.autoCenter&&h-t==0){ag.stop().animate({width:0,left:aH.pWidth},aH.speed,aH.easing);ac.stop().animate({left:aH.pWidth},aH.speed,aH.easing)}else{ag.stop().animate({width:0},aH.speedH,aH.easeIn)}if(ao){ae.stop().animate({left:aH.pWidth/4,width:aH.pWidth*0.75,paddingLeft:aH.shadowBtmWidth},aH.speedH,aH.easeIn).animate({left:0,width:aH.pWidth,paddingLeft:0},aH.speedH)}else{ae.stop().animate({left:aH.pWidthH,width:aH.pWidthH,paddingLeft:aH.shadowBtmWidth},aH.speedH,aH.easeIn).animate({left:0,width:aH.pWidth,paddingLeft:0},aH.speedH)}c.animate({left:aH.shadowBtmWidth},aH.speedH,aH.easeIn).animate({left:0},aH.speedH,aH.easeOut,function(){M()})}else{if(h<aH.curr&&h<aH.pTotal&&h>=0&&!am){am=true;t=aH.curr-h;aH.curr=h;aH.before.call(aA,aH);aE();F();S(aH.curr+1,aH);X(t,false,aL);if(n){ai.animate({left:aH.pWidth,width:0},aH.speed,aH.easing);P.animate({left:aH.pWidthN},aH.speed,aH.easing);if(aH.closed&&aH.autoCenter&&aH.curr==0){aj.animate({left:aH.pWidthH,width:aH.pWidthH},aH.speedH,aH.easeIn).animate({left:0,width:aH.pWidth},aH.speedH,aH.easeOut);ag.stop().animate({left:0},aH.speed,aH.easing)}else{aj.animate({left:aH.pWidth,width:aH.pWidth},aH.speed,aH.easing)}aq.animate({right:0},aH.speed,aH.easing,function(){M()})}else{ai.animate({left:aH.pWidth,width:0},aH.speed,aH.easing);P.animate({left:aH.pWidthN},aH.speed,aH.easing);if(aH.closed&&aH.autoCenter&&aH.curr==0){aj.animate({left:aH.pWidthH,width:aH.pWidthH},aH.speedH,aH.easeIn).animate({left:0,width:aH.pWidth},aH.speedH,aH.easeOut);ag.stop().animate({left:0},aH.speed,aH.easing)}else{aj.animate({left:aH.pWidthH,width:aH.pWidthH},aH.speedH,aH.easeIn).animate({left:aH.pWidth,width:aH.pWidth},aH.speedH,aH.easeOut)}aq.animate({right:aH.shadowBtmWidth},aH.speedH,aH.easeIn).animate({right:0},aH.speedH,aH.easeOut,function(){M()})}}}}});if(aH.manual&&b.ui){aH.overlays=false}if(aH.next){ap=b(aH.next);ap.click(function(h){h.preventDefault();aA.next()})}if(aH.prev){E=b(aH.prev);E.click(function(h){h.preventDefault();aA.prev()})}if(aH.overlays){av=b('<div class="b-overlay b-overlay-prev b-prev" title="Previous Page"></div>').appendTo(Z);ax=b('<div class="b-overlay b-overlay-next b-next" title="Next Page"></div>').appendTo(Z);v=Z.find(".b-overlay");if(b.browser.msie){v.css({background:"#fff",filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0) !important"})}}if(aH.tabs){at=b('<div class="b-tab b-tab-prev b-prev" title="Previous Page">Previous</div>').appendTo(Z);au=b('<div class="b-tab b-tab-next b-next" title="Next Page">Next</div>').appendTo(Z);Y=Z.find(".b-tab");if(aH.tabWidth){Y.width(aH.tabWidth)}if(aH.tabHeight){Y.height(aH.tabHeight)}Y.css({top:"-"+au.outerHeight()+"px"});Z.css({marginTop:au.outerHeight()});if(aH.direction=="RTL"){au.html("Previous").attr("title","Previous Page");at.html("Next").attr("title","Next Page")}}else{Z.css({marginTop:0})}if(aH.arrows){H=b('<div class="b-arrow b-arrow-prev b-prev" title="Previous Page"><div>Previous</div></div>').appendTo(Z);J=b('<div class="b-arrow b-arrow-next b-next" title="Next Page"><div>Next</div></div>').appendTo(Z);r=Z.find(".b-arrow");if(aH.direction=="RTL"){J.html("<div>Previous</div>").attr("title","Previous Page");H.html("<div>Next</div>").attr("title","Next Page")}}f=Z.find(".b-next");d=Z.find(".b-prev");f.click(function(h){h.preventDefault();aA.next()});d.click(function(h){h.preventDefault();aA.prev()});if(aH.overlays&&aH.hovers){f.unbind("mouseover mouseout").bind("mouseover",function(){u(true)}).bind("mouseout",function(){aw(true)});d.unbind("mouseover mouseout").bind("mouseover",function(){u(false)}).bind("mouseout",function(){aw(false)})}if(aH.arrows){if(aH.arrowsHide){if(b.support.opacity){f.hover(function(){J.find("div").stop().fadeTo("fast",1)},function(){J.find("div").stop().fadeTo("fast",0)});d.hover(function(){H.find("div").stop().fadeTo("fast",1)},function(){H.find("div").stop().fadeTo("fast",0)})}else{f.hover(function(){J.find("div").show()},function(){J.find("div").hide()});d.hover(function(){H.find("div").show()},function(){H.find("div").hide()})}}else{J.find("div").show();H.find("div").show()}}if(aH.keyboard){b(document).keyup(function(h){if(h.keyCode==37){aA.prev()}else{if(h.keyCode==39){aA.next()}}})}if(aH.hash){g();clearInterval(T);T=setInterval(function(){ad()},250)}if(aH.wPercent||aH.hPercent){b(window).resize(function(){ab()})}if(aH.auto&&aH.delay){clearTimeout(aa);aa=setTimeout(function(){aA.next()},aH.delay);e=true;if(aH.pause){pause=b(aH.pause);pause.click(function(h){h.preventDefault();if(e){clearTimeout(aa);e=false}})}if(aH.play){play=b(aH.play);play.click(function(h){h.preventDefault();if(!e){clearTimeout(aa);aa=setTimeout(function(){aA.next()},aH.delay);e=true}})}}ah();F();aE();function m(){if((G.children().length%2)!=0){if(aH.closed&&aH.covers){G.children().last().before(aF)}else{G.children().last().after(aF)}}if(aH.closed){b(aC).attr({title:aH.closedFrontTitle||"Beginning",rel:aH.closedFrontChapter||"Beginning of Book"}).prependTo(G);G.children().last().attr({title:aH.closedBackTitle||"End",rel:aH.closedBackChapter||"End of Book"});G.append(aC)}if(aH.direction=="LTR"){O=0}else{O=G.children().length;if(aH.closed){O-=2}if(aH.covers){O-=2}b(G.children().get().reverse()).each(function(){b(this).appendTo(G)})}G.children().each(function(h){if(b(this).attr("rel")){Q[h]=b(this).attr("rel")}else{Q[h]=""}aI[h]=b(this).attr("title");if(b(this).hasClass("b-page-empty")){b(this).wrap('<div class="b-page"><div class="b-wrap"></div></div>')}else{if(aH.closed&&aH.covers&&(h==1||h==G.children().length-2)){b(this).wrap('<div class="b-page"><div class="b-wrap b-page-cover"></div></div>')}else{if(h%2!=0){b(this).wrap('<div class="b-page"><div class="b-wrap b-wrap-right"></div></div>')}else{b(this).wrap('<div class="b-page"><div class="b-wrap b-wrap-left"></div></div>')}}}b(this).parents(".b-page").addClass("b-page-"+h).data("page",h);if(aH.pageNumbers&&!b(this).hasClass("b-page-empty")&&(!aH.closed||(aH.closed&&!aH.covers)||(aH.closed&&aH.covers&&h!=1&&h!=G.children().length-2))){if(aH.direction=="LTR"){O++}b(this).parent().append('<div class="b-counter">'+(O)+"</div>");if(aH.direction=="RTL"){O--}}})}function ab(){if(aH.wPercent){aH.width=(aH.wOrig.replace("%","")/100)*parseFloat(Z.parent().css("width"));Z.width(aH.width);aH.pWidth=aH.width/2;aH.pWidthN="-"+(aH.pWidth)+"px";aH.pWidthH=aH.pWidth/2}if(aH.hPercent){aH.height=(aH.hOrig.replace("%","")/100)*parseFloat(Z.parent().css("height"));Z.height(aH.height);aH.pHeight=aH.height}k()}function k(){Z.find(".b-shadow-f, .b-shadow-b, .b-p0, .b-p3").css({filter:"",zoom:""});if(aH.manual&&b.ui){Z.find(".b-page").draggable("destroy").removeClass("b-grab b-grabbing")}ay.attr("style","");ay.css({left:0,width:aH.pWidth-(aH.pagePadding*2),height:aH.pHeight-(aH.pagePadding*2),padding:aH.pagePadding});aq.css({right:0,left:"auto"});ai.css({left:0,width:aH.pWidth,height:aH.pHeight});ag.css({left:aH.pWidth,width:aH.pWidth,opacity:1,height:aH.pHeight});L.css({left:0,width:aH.pWidth,height:aH.pHeight});aj.css({left:0,width:0,height:aH.pHeight});ae.stop().css({left:aH.pWidth*2,width:0,height:aH.pHeight,paddingLeft:0});ac.css({left:aH.pWidth,width:aH.pWidth,height:aH.pHeight});if(aH.closed&&aH.autoCenter&&aH.curr==0){L.css({left:0});ai.css({left:aH.pWidthN});ag.css({left:0});ae.css({left:aH.pWidth});ac.css({left:0})}if(aH.closed&&aH.autoCenter&&(aH.curr==0||aH.curr>=aH.pTotal-2)){if(aH.overlays){v.width("100%")}Z.width(aH.pWidth)}else{if(aH.overlays){v.width("50%")}Z.width(aH.width)}}function ah(){if(ar){if(ai.data("page")-1<0){G.prepend(ag.detach());G.prepend(ai.detach())}else{Z.find(".b-page-"+(ai.data("page")-1)).after(ai.detach());Z.find(".b-page-"+(ag.data("page")-1)).after(ag.detach())}if(ae.data("page")-1<=aH.pTotal){Z.find(".b-page-"+(ae.data("page")-1)).after(ae.detach());Z.find(".b-page-"+(ac.data("page")-1)).after(ac.detach())}if(L.data("page")-1>=0){Z.find(".b-page-"+(L.data("page")-1)).after(L.detach());Z.find(".b-page-"+(aj.data("page")-1)).after(aj.detach())}else{G.prepend(L.detach());L.after(aj.detach())}}Z.find(".b-page").removeClass("b-pN b-p0 b-p1 b-p2 b-p3 b-p4").hide();if(aH.curr-2>=0){Z.find(".b-page-"+(aH.curr-2)).addClass("b-pN").show();Z.find(".b-page-"+(aH.curr-1)).addClass("b-p0").show()}Z.find(".b-page-"+(aH.curr)).addClass("b-p1").show();Z.find(".b-page-"+(aH.curr+1)).addClass("b-p2").show();if(aH.curr+3<=aH.pTotal){Z.find(".b-page-"+(aH.curr+2)).addClass("b-p3").show();Z.find(".b-page-"+(aH.curr+3)).addClass("b-p4").show()}L=Z.find(".b-pN");aj=Z.find(".b-p0");ai=Z.find(".b-p1");ag=Z.find(".b-p2");ae=Z.find(".b-p3");ac=Z.find(".b-p4");aK=Z.find(".b-pN .b-wrap");aq=Z.find(".b-p0 .b-wrap");P=Z.find(".b-p1 .b-wrap");y=Z.find(".b-p2 .b-wrap");c=Z.find(".b-p3 .b-wrap");aD=Z.find(".b-p4 .b-wrap");ay=Z.find(".b-wrap");k();if(aH.curr+3<=aH.pTotal){ae.after(aj.detach());ai.after(ac.detach())}else{aj.detach().appendTo(G)}ar=true;if(aH.shadows){Z.find(".b-shadow-f, .b-shadow-b").remove();aJ=b('<div class="b-shadow-f"></div>').css({right:0,width:aH.pWidth,height:aH.pHeight}).appendTo(ae);aL=b('<div class="b-shadow-b"></div>').appendTo(aj).css({left:0,width:aH.pWidth,height:aH.pHeight})}I=U=ao=n=false;if(aH.manual&&b.ui){ae.draggable({axis:"x",containment:[ag.offset().left-aH.pWidthH,0,ag.offset().left+aH.pWidth-50,aH.pHeight],drag:function(h,i){ao=true;al=i.originalPosition.left-i.position.left;ae.removeClass("b-grab").addClass("b-grabbing");ae.width(40+(al/2));c.css({left:10+(al/8)});ag.width(aH.pWidth-ae.width()+10);if(aH.shadows){aJ.css({right:"-"+(20+al/4)+"px"});if(b.support.opacity){aJ.css({opacity:0.5*(al/aH.pWidthH)})}else{aJ.css({right:"auto",left:0.1*ae.width()})}}},stop:function(i,j){aw(false);var h=j.originalPosition.left-j.position.left;if(h>aH.pWidthH/4){if(aH.shadows&&!b.support.opacity){aJ.css({left:"auto"})}aA.next();ae.removeClass("b-grab b-grabbing")}else{ao=false;ae.removeClass("b-grabbing").addClass("b-grab")}}});aj.draggable({axis:"x",containment:[ai.offset().left+10,0,ai.offset().left+aH.pWidth*0.75,aH.pHeight],drag:function(h,i){n=true;al=i.position.left-i.originalPosition.left;aj.removeClass("b-grab").addClass("b-grabbing");aj.css({left:40+(al)/1.5,width:40+(al)});aq.css({right:10+al/4});ai.css({left:i.position.left+20,width:aH.pWidth-i.position.left-10});P.css({left:-1*(al+30)});if(aH.shadows){if(b.support.opacity){aL.css({opacity:0.5*(al/aH.pWidthH)})}else{aL.css({left:-0.38*aH.pWidth})}}},stop:function(h,i){aw(true);al=i.position.left-i.originalPosition.left;if(al>aH.pWidthH/4){aA.prev();aj.removeClass("b-grab b-grabbing")}else{n=false;aj.removeClass("b-grabbing").addClass("b-grab")}}});b(Z).unbind("mousemove mouseout").bind("mousemove",function(h){aB=h.pageX-Z.offset().left;if(aB<50){u(false)}else{if(aB>aH.pWidth-50&&aH.curr==0&&aH.autoCenter&&aH.closed){u(true)}else{if(aB>50&&aB<aH.width-50){aw(false);aw(true)}else{if(aB>aH.width-50){u(true)}}}}}).bind("mouseout",function(){aw(false);aw(true)})}}function u(h){if(h){if(!am&&!I&&!U&&!ao&&aH.curr+2<=aH.pTotal-2){ag.stop().animate({width:aH.pWidth-40},500,aH.easing);ae.addClass("b-grab");if(aH.closed&&aH.autoCenter&&aH.curr==0){ae.stop().animate({left:aH.pWidth-50,width:40},500,aH.easing)}else{ae.stop().animate({left:aH.width-50,width:40},500,aH.easing)}c.stop().animate({left:10},500,aH.easing);if(aH.shadows&&!b.support.opacity){aJ.css({right:"auto",left:"-40%"})}I=true}}else{if(!am&&!U&&!I&&!n&&aH.curr-2>=0){ai.stop().animate({left:10,width:aH.pWidth-10},400,aH.easing);aj.addClass("b-grab");P.stop().animate({left:"-10px"},400,aH.easing);aj.stop().animate({left:10,width:40},400,aH.easing);aq.stop().animate({right:10},400,aH.easing);if(aH.shadows&&!b.support.opacity){aL.css({left:-0.38*aH.pWidth})}U=true}}}function aw(h){if(h){if(!am&&I&&!ao&&aH.curr+2<=aH.pTotal-2){ag.stop().animate({width:aH.pWidth},500,aH.easing);if(aH.closed&&aH.autoCenter&&aH.curr==0){ae.stop().animate({left:aH.pWidth,width:0},500,aH.easing)}else{ae.stop().animate({left:aH.width,width:0},500,aH.easing)}c.stop().animate({left:0},500,aH.easing);if(aH.shadows&&!b.support.opacity){aJ.css({left:"auto"})}I=false}}else{if(!am&&U&&!n&&aH.curr-2>=0){ai.stop().animate({left:0,width:aH.pWidth},400,aH.easing);P.stop().animate({left:0},400,aH.easing);aj.stop().animate({left:0,width:0},400,aH.easing);aq.stop().animate({right:0},400,aH.easing);U=false}}}function X(i,h,j){if(h&&i>2){Z.find(".b-page-"+(ae.data("page")-1)).after(ae.detach());Z.find(".b-page-"+(ac.data("page")-1)).after(ac.detach());Z.find(".b-p3, .b-p4").removeClass("b-p3 b-p4").hide();Z.find(".b-page-"+aH.curr).addClass("b-p3").show().stop().css({left:aH.pWidth*2,width:0,height:aH.pHeight,paddingLeft:0});Z.find(".b-page-"+(aH.curr+1)).addClass("b-p4").show().css({left:aH.pWidth,width:aH.pWidth,height:aH.pHeight});Z.find(".b-page-"+aH.curr+" .b-wrap").show().css({width:aH.pWidth-(aH.pagePadding*2),height:aH.pHeight-(aH.pagePadding*2),padding:aH.pagePadding});Z.find(".b-page-"+(aH.curr+1)+" .b-wrap").show().css({width:aH.pWidth-(aH.pagePadding*2),height:aH.pHeight-(aH.pagePadding*2),padding:aH.pagePadding});ae=Z.find(".b-p3");ac=Z.find(".b-p4");c=Z.find(".b-p3 .b-wrap");aD=Z.find(".b-p4 .b-wrap");if(I){ae.css({left:aH.width-40,width:20,"padding-left":10})}ai.after(ac.detach());ag.after(ae.detach());if(aH.shadows){Z.find(".b-shadow-f").remove();aJ=b('<div class="b-shadow-f"></div>').css({right:0,width:aH.pWidth,height:aH.pHeight}).appendTo(ae);j=aJ}}else{if(!h&&i>2){Z.find(".b-page-"+(L.data("page")-1)).after(L.detach());Z.find(".b-page-"+(aj.data("page")-1)).after(aj.detach());Z.find(".b-pN, .b-p0").removeClass("b-pN b-p0").hide();Z.find(".b-page-"+aH.curr).addClass("b-pN").show().css({left:0,width:aH.pWidth,height:aH.pHeight});Z.find(".b-page-"+(aH.curr+1)).addClass("b-p0").show().css({left:0,width:0,height:aH.pHeight});Z.find(".b-page-"+aH.curr+" .b-wrap").show().css({width:aH.pWidth-(aH.pagePadding*2),height:aH.pHeight-(aH.pagePadding*2),padding:aH.pagePadding});Z.find(".b-page-"+(aH.curr+1)+" .b-wrap").show().css({width:aH.pWidth-(aH.pagePadding*2),height:aH.pHeight-(aH.pagePadding*2),padding:aH.pagePadding});L=Z.find(".b-pN");aj=Z.find(".b-p0");aK=Z.find(".b-pN .b-wrap");aq=Z.find(".b-p0 .b-wrap");if(U){aj.css({left:10,width:40});aq.css({right:10})}aj.detach().appendTo(G);if(aH.shadows){Z.find(".b-shadow-b, .b-shadow-f").remove();aL=b('<div class="b-shadow-b"></div>').appendTo(aj).css({left:0,width:aH.pWidth,height:aH.pHeight});j=aL}}}if(aH.closed){if(!h&&aH.curr==0){L.hide()}else{if(!h){L.show()}}if(h&&aH.curr>=aH.pTotal-2){ac.hide()}else{if(h){ac.show()}}}if(aH.shadows){if(b.support.opacity){j.animate({opacity:1},aH.speedH,aH.easeIn).animate({opacity:0},aH.speedH,aH.easeOut)}else{if(h){j.animate({right:aH.shadowTopFwdWidth},aH.speed,aH.easeIn)}else{j.animate({left:aH.shadowTopBackWidth},aH.speed,aH.easeIn)}}}if(aH.closed&&aH.autoCenter){if(aH.curr==0){ae.hide();ac.hide();Z.animate({width:aH.pWidth},aH.speed,aH.easing)}else{if(aH.curr>=aH.pTotal-2){aj.hide();L.hide();Z.animate({width:aH.pWidth},aH.speed,aH.easing)}else{Z.animate({width:aH.width},aH.speed,aH.easing)}}}}function M(){ah();aE();F();aH.after.call(aA,aH);am=false;if(aH.auto&&aH.delay){if(e&&aH.curr<aH.pTotal-2){clearTimeout(aa);aa=setTimeout(function(){aA.next()},aH.delay);console.log("continue...")}if(aH.curr>=aH.pTotal-2){e=false}}}function F(){if(aH.overlays||aH.tabs||aH.arrows){if(b.support.opacity){if(aH.curr<aH.pTotal-2){f.fadeIn("fast").css("cursor",aH.cursor)}else{f.fadeOut("fast").css("cursor","default")}if(aH.curr>=2&&aH.curr!=0){d.fadeIn("fast").css("cursor",aH.cursor)}else{d.fadeOut("fast").css("cursor","default")}}else{if(aH.curr<aH.pTotal-2){f.show().css("cursor",aH.cursor)}else{f.hide().css("cursor","default")}if(aH.curr>=2&&aH.curr!=0){d.show().css("cursor",aH.cursor)}else{d.hide().css("cursor","default")}}}}function aE(){if(aH.pageSelector){if(aH.direction=="RTL"){nums=(Math.abs(aH.curr-aH.pTotal)-1)+" - "+((Math.abs(aH.curr-aH.pTotal)));if(aH.closed){if(aH.curr==aH.pTotal-2){nums="1"}else{if(aH.curr==0){nums=aH.pTotal-2}else{nums=(Math.abs(aH.curr-aH.pTotal)-2)+" - "+((Math.abs(aH.curr-aH.pTotal)-1))}}if(aH.covers){if(aH.curr==aH.pTotal-2){nums=""}else{if(aH.curr==0){nums=""}else{nums=(Math.abs(aH.curr-aH.pTotal)-3)+" - "+((Math.abs(aH.curr-aH.pTotal)-2))}}}}b(aH.menu+" .b-selector-page .b-current").text(nums)}else{nums=(aH.curr+1)+" - "+(aH.curr+2);if(aH.closed){if(aH.curr==0){nums="1"}else{if(aH.curr==aH.pTotal-2){nums=aH.pTotal-2}else{nums=(aH.curr)+"-"+(aH.curr+1)}}if(aH.covers){if(aH.curr==0){nums=""}else{if(aH.curr==aH.pTotal-2){nums=""}else{nums=(aH.curr-1)+"-"+(aH.curr)}}}}b(aH.menu+" .b-selector-page .b-current").text(nums)}}if(aH.chapterSelector){if(Q[aH.curr]!=""){b(aH.menu+" .b-selector-chapter .b-current").text(Q[aH.curr])}else{if(Q[aH.curr+1]!=""){b(aH.menu+" .b-selector-chapter .b-current").text(Q[aH.curr+1])}}if(aH.direction=="RTL"&&Q[aH.curr+1]!=""){b(aH.menu+" .b-selector-chapter .b-current").text(Q[aH.curr+1])}else{if(Q[aH.curr]!=""){b(aH.menu+" .b-selector-chapter .b-current").text(Q[aH.curr])}}}}function g(){V=D();if(!isNaN(V)&&V<=aH.pTotal-1&&V>=0&&V!=""){if((V%2)!=0){V--}aH.curr=V}else{S(aH.curr+1,aH)}aA.hash=V}function ad(){V=D();if(!isNaN(V)&&V<=aH.pTotal-1&&V>=0){if(V!=aH.curr&&V.toString()!=aA.hash){if((V%2)!=0){V--}document.title=aH.name+" - Page "+(V+1);if(!am){aA.gotoPage(V);aA.hash=V}}}}function D(){var h=window.location.hash.split("/");if(h.length>1){return parseInt(h[2])-1}else{return""}}function S(i,h){if(h.hash){window.location.hash="/page/"+i}}}b.fn.booklet.interfaces=[];b.fn.booklet.defaults={name:null,width:600,height:400,speed:1000,direction:"LTR",startingPage:0,easing:"easeInOutQuad",easeIn:"easeInQuad",easeOut:"easeOutQuad",closed:false,closedFrontTitle:null,closedFrontChapter:null,closedBackTitle:null,closedBackChapter:null,covers:false,autoCenter:false,pagePadding:10,pageNumbers:true,manual:true,hovers:true,overlays:true,tabs:false,tabWidth:60,tabHeight:20,arrows:false,arrowsHide:false,cursor:"pointer",hash:false,keyboard:true,next:null,prev:null,auto:false,delay:5000,pause:null,play:null,menu:null,pageSelector:false,chapterSelector:false,shadows:true,shadowTopFwdWidth:166,shadowTopBackWidth:166,shadowBtmWidth:50,before:function(){},after:function(){}}})(jQuery);
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
|
3
|
+
*
|
4
|
+
* Uses the built in easing capabilities added In jQuery 1.1
|
5
|
+
* to offer multiple easing options
|
6
|
+
*
|
7
|
+
* TERMS OF USE - jQuery Easing
|
8
|
+
*
|
9
|
+
* Open source under the BSD License.
|
10
|
+
*
|
11
|
+
* Copyright © 2008 George McGinley Smith
|
12
|
+
* All rights reserved.
|
13
|
+
*
|
14
|
+
* Redistribution and use in source and binary forms, with or without modification,
|
15
|
+
* are permitted provided that the following conditions are met:
|
16
|
+
*
|
17
|
+
* Redistributions of source code must retain the above copyright notice, this list of
|
18
|
+
* conditions and the following disclaimer.
|
19
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list
|
20
|
+
* of conditions and the following disclaimer in the documentation and/or other materials
|
21
|
+
* provided with the distribution.
|
22
|
+
*
|
23
|
+
* Neither the name of the author nor the names of contributors may be used to endorse
|
24
|
+
* or promote products derived from this software without specific prior written permission.
|
25
|
+
*
|
26
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
27
|
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
28
|
+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
29
|
+
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
30
|
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
31
|
+
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
32
|
+
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
33
|
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
34
|
+
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
35
|
+
*
|
36
|
+
*/
|
37
|
+
|
38
|
+
jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def:'easeOutQuad',swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b}});
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>JTalk - Presentation</title>
|
4
|
+
<script src="../../js/amber.js" type="text/javascript"></script>
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
|
8
|
+
<script type="text/javascript">
|
9
|
+
loadAmber({
|
10
|
+
files: ['Presentation.js'],
|
11
|
+
prefix: 'examples/presentation/js',
|
12
|
+
ready: function() {smalltalk.Browser._openOn_(smalltalk.FOSDEM2012Presentation)}
|
13
|
+
});
|
14
|
+
</script>
|
15
|
+
|
16
|
+
</body>
|
17
|
+
</html>
|
@@ -0,0 +1,1922 @@
|
|
1
|
+
smalltalk.addPackage('Presentation', {});
|
2
|
+
smalltalk.addClass('Slide', smalltalk.Widget, ['presentation'], 'Presentation');
|
3
|
+
smalltalk.addMethod(
|
4
|
+
unescape('_presentation'),
|
5
|
+
smalltalk.method({
|
6
|
+
selector: unescape('presentation'),
|
7
|
+
fn: function (){
|
8
|
+
var self=this;
|
9
|
+
return self['@presentation'];
|
10
|
+
return self;}
|
11
|
+
}),
|
12
|
+
smalltalk.Slide);
|
13
|
+
|
14
|
+
smalltalk.addMethod(
|
15
|
+
unescape('_presentation_'),
|
16
|
+
smalltalk.method({
|
17
|
+
selector: unescape('presentation%3A'),
|
18
|
+
fn: function (aPresentation){
|
19
|
+
var self=this;
|
20
|
+
(self['@presentation']=aPresentation);
|
21
|
+
return self;}
|
22
|
+
}),
|
23
|
+
smalltalk.Slide);
|
24
|
+
|
25
|
+
smalltalk.addMethod(
|
26
|
+
unescape('_id'),
|
27
|
+
smalltalk.method({
|
28
|
+
selector: unescape('id'),
|
29
|
+
fn: function (){
|
30
|
+
var self=this;
|
31
|
+
return smalltalk.send(smalltalk.send(self, "_class", []), "_name", []);
|
32
|
+
return self;}
|
33
|
+
}),
|
34
|
+
smalltalk.Slide);
|
35
|
+
|
36
|
+
smalltalk.addMethod(
|
37
|
+
unescape('_cssClass'),
|
38
|
+
smalltalk.method({
|
39
|
+
selector: unescape('cssClass'),
|
40
|
+
fn: function (){
|
41
|
+
var self=this;
|
42
|
+
return "slide";
|
43
|
+
return self;}
|
44
|
+
}),
|
45
|
+
smalltalk.Slide);
|
46
|
+
|
47
|
+
smalltalk.addMethod(
|
48
|
+
unescape('_backgroundColor'),
|
49
|
+
smalltalk.method({
|
50
|
+
selector: unescape('backgroundColor'),
|
51
|
+
fn: function (){
|
52
|
+
var self=this;
|
53
|
+
return unescape("%23555");
|
54
|
+
return self;}
|
55
|
+
}),
|
56
|
+
smalltalk.Slide);
|
57
|
+
|
58
|
+
smalltalk.addMethod(
|
59
|
+
unescape('_title'),
|
60
|
+
smalltalk.method({
|
61
|
+
selector: unescape('title'),
|
62
|
+
fn: function (){
|
63
|
+
var self=this;
|
64
|
+
return smalltalk.send(self, "_id", []);
|
65
|
+
return self;}
|
66
|
+
}),
|
67
|
+
smalltalk.Slide);
|
68
|
+
|
69
|
+
smalltalk.addMethod(
|
70
|
+
unescape('_show'),
|
71
|
+
smalltalk.method({
|
72
|
+
selector: unescape('show'),
|
73
|
+
fn: function (){
|
74
|
+
var self=this;
|
75
|
+
(($receiver = smalltalk.send(self, "_backgroundColor", [])) != nil && $receiver != undefined) ? (function(){return smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [unescape("%23slides")]), "_css_color_", ["background", smalltalk.send(self, "_backgroundColor", [])]);})() : nil;
|
76
|
+
smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [".slide"]), "_hide_options_duration_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_slideTransition", []), [], (300)]);
|
77
|
+
smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [smalltalk.send(unescape("%23"), "__comma", [smalltalk.send(self, "_id", [])])]), "_show_options_duration_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_slideTransition", []), [], (300)]);
|
78
|
+
return self;}
|
79
|
+
}),
|
80
|
+
smalltalk.Slide);
|
81
|
+
|
82
|
+
smalltalk.addMethod(
|
83
|
+
unescape('_renderOn_'),
|
84
|
+
smalltalk.method({
|
85
|
+
selector: unescape('renderOn%3A'),
|
86
|
+
fn: function (html){
|
87
|
+
var self=this;
|
88
|
+
(function($rec){smalltalk.send($rec, "_class_", [smalltalk.send(self, "_cssClass", [])]);smalltalk.send($rec, "_id_", [smalltalk.send(self, "_id", [])]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(self, "_renderSlideOn_", [html]);return smalltalk.send(self, "_renderMetaOn_", [html]);})]);})(smalltalk.send(html, "_div", []));
|
89
|
+
return self;}
|
90
|
+
}),
|
91
|
+
smalltalk.Slide);
|
92
|
+
|
93
|
+
smalltalk.addMethod(
|
94
|
+
unescape('_renderSlideOn_'),
|
95
|
+
smalltalk.method({
|
96
|
+
selector: unescape('renderSlideOn%3A'),
|
97
|
+
fn: function (html){
|
98
|
+
var self=this;
|
99
|
+
|
100
|
+
return self;}
|
101
|
+
}),
|
102
|
+
smalltalk.Slide);
|
103
|
+
|
104
|
+
smalltalk.addMethod(
|
105
|
+
unescape('_renderMetaOn_'),
|
106
|
+
smalltalk.method({
|
107
|
+
selector: unescape('renderMetaOn%3A'),
|
108
|
+
fn: function (html){
|
109
|
+
var self=this;
|
110
|
+
(function($rec){smalltalk.send($rec, "_id_", ["meta"]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_class_", ["title"]);return smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_title", [])]);})(smalltalk.send(html, "_p", []));(function($rec){smalltalk.send($rec, "_class_", ["description"]);return smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_description", [])]);})(smalltalk.send(html, "_p", []));(function($rec){smalltalk.send($rec, "_class_", ["author"]);smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_author", [])]);return smalltalk.send($rec, "_href_", [smalltalk.send("mailto:", "__comma", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_email", [])])]);})(smalltalk.send(html, "_a", []));return (function($rec){smalltalk.send($rec, "_class_", ["url"]);smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_url", [])]);return smalltalk.send($rec, "_href_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_url", [])]);})(smalltalk.send(html, "_a", []));})]);})(smalltalk.send(html, "_div", []));
|
111
|
+
return self;}
|
112
|
+
}),
|
113
|
+
smalltalk.Slide);
|
114
|
+
|
115
|
+
|
116
|
+
smalltalk.addMethod(
|
117
|
+
unescape('_on_'),
|
118
|
+
smalltalk.method({
|
119
|
+
selector: unescape('on%3A'),
|
120
|
+
fn: function (aPresentation){
|
121
|
+
var self=this;
|
122
|
+
return (function($rec){smalltalk.send($rec, "_presentation_", [aPresentation]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
|
123
|
+
return self;}
|
124
|
+
}),
|
125
|
+
smalltalk.Slide.klass);
|
126
|
+
|
127
|
+
|
128
|
+
smalltalk.addClass('PresentationNavigator', smalltalk.Widget, ['presentationBrush', 'currentPresentation', 'slideSelect'], 'Presentation');
|
129
|
+
smalltalk.addMethod(
|
130
|
+
unescape('_currentPresentation_'),
|
131
|
+
smalltalk.method({
|
132
|
+
selector: unescape('currentPresentation%3A'),
|
133
|
+
fn: function (aPresentation){
|
134
|
+
var self=this;
|
135
|
+
(self['@currentPresentation']=aPresentation);
|
136
|
+
return self;}
|
137
|
+
}),
|
138
|
+
smalltalk.PresentationNavigator);
|
139
|
+
|
140
|
+
smalltalk.addMethod(
|
141
|
+
unescape('_currentPresentation'),
|
142
|
+
smalltalk.method({
|
143
|
+
selector: unescape('currentPresentation'),
|
144
|
+
fn: function (){
|
145
|
+
var self=this;
|
146
|
+
return (($receiver = self['@currentPresentation']) == nil || $receiver == undefined) ? (function(){return (self['@currentPresentation']=smalltalk.send(smalltalk.send(smalltalk.send((smalltalk.Presentation || Presentation), "_concretePresentations", []), "_first", []), "_new", []));})() : $receiver;
|
147
|
+
return self;}
|
148
|
+
}),
|
149
|
+
smalltalk.PresentationNavigator);
|
150
|
+
|
151
|
+
smalltalk.addMethod(
|
152
|
+
unescape('_style'),
|
153
|
+
smalltalk.method({
|
154
|
+
selector: unescape('style'),
|
155
|
+
fn: function (){
|
156
|
+
var self=this;
|
157
|
+
return unescape("%0A%23navigator%20%7B%0A%20%20%20%20z-index%3A%201%3B%0A%20%20%20%20position%3A%20fixed%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-150px%3B%0A%20%20%20%20padding%3A%205px%3B%0A%20%20%20%20border-radius%3A%205px%3B%0A%20%20%20%20-moz-border-radius%3A%205px%3B%0A%20%20%20%20-webkit-border-radius%3A%205px%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20opacity%3A%200.3%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%7D%0A%0A%23navigator%20a%20%7B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%20%20%20%20padding%3A%200%202px%3B%0A%20%20%20%20font-size%3A%2014px%3B%0A%7D%0A%0A%23navigator%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A");
|
158
|
+
return self;}
|
159
|
+
}),
|
160
|
+
smalltalk.PresentationNavigator);
|
161
|
+
|
162
|
+
smalltalk.addMethod(
|
163
|
+
unescape('_selectPresentation_'),
|
164
|
+
smalltalk.method({
|
165
|
+
selector: unescape('selectPresentation%3A'),
|
166
|
+
fn: function (aPresentationClass){
|
167
|
+
var self=this;
|
168
|
+
smalltalk.send(self, "_currentPresentation_", [smalltalk.send(aPresentationClass, "_new", [])]);
|
169
|
+
smalltalk.send(self, "_renderCurrentPresentation", []);
|
170
|
+
return self;}
|
171
|
+
}),
|
172
|
+
smalltalk.PresentationNavigator);
|
173
|
+
|
174
|
+
smalltalk.addMethod(
|
175
|
+
unescape('_selectPresentationNamed_'),
|
176
|
+
smalltalk.method({
|
177
|
+
selector: unescape('selectPresentationNamed%3A'),
|
178
|
+
fn: function (aString){
|
179
|
+
var self=this;
|
180
|
+
var presentationClass=nil;
|
181
|
+
(presentationClass=smalltalk.send(smalltalk.send((smalltalk.Smalltalk || Smalltalk), "_current", []), "_at_", [aString]));
|
182
|
+
(($receiver = presentationClass) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self, "_selectPresentation_", [presentationClass]);})() : nil;
|
183
|
+
return self;}
|
184
|
+
}),
|
185
|
+
smalltalk.PresentationNavigator);
|
186
|
+
|
187
|
+
smalltalk.addMethod(
|
188
|
+
unescape('_previousSlide'),
|
189
|
+
smalltalk.method({
|
190
|
+
selector: unescape('previousSlide'),
|
191
|
+
fn: function (){
|
192
|
+
var self=this;
|
193
|
+
smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_previousSlide", []);
|
194
|
+
smalltalk.send(self, "_updateHash", []);
|
195
|
+
return self;}
|
196
|
+
}),
|
197
|
+
smalltalk.PresentationNavigator);
|
198
|
+
|
199
|
+
smalltalk.addMethod(
|
200
|
+
unescape('_nextSlide'),
|
201
|
+
smalltalk.method({
|
202
|
+
selector: unescape('nextSlide'),
|
203
|
+
fn: function (){
|
204
|
+
var self=this;
|
205
|
+
smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_nextSlide", []);
|
206
|
+
smalltalk.send(self, "_updateHash", []);
|
207
|
+
return self;}
|
208
|
+
}),
|
209
|
+
smalltalk.PresentationNavigator);
|
210
|
+
|
211
|
+
smalltalk.addMethod(
|
212
|
+
unescape('_reload'),
|
213
|
+
smalltalk.method({
|
214
|
+
selector: unescape('reload'),
|
215
|
+
fn: function (){
|
216
|
+
var self=this;
|
217
|
+
var slideIndex=nil;
|
218
|
+
(slideIndex=smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_currentSlideIndex", []));
|
219
|
+
smalltalk.send(self, "_currentPresentation_", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", []), "_new", [])]);
|
220
|
+
smalltalk.send(self, "_renderCurrentPresentation", []);
|
221
|
+
smalltalk.send(self, "_selectSlideAt_", [slideIndex]);
|
222
|
+
return self;}
|
223
|
+
}),
|
224
|
+
smalltalk.PresentationNavigator);
|
225
|
+
|
226
|
+
smalltalk.addMethod(
|
227
|
+
unescape('_selectSlideAt_'),
|
228
|
+
smalltalk.method({
|
229
|
+
selector: unescape('selectSlideAt%3A'),
|
230
|
+
fn: function (anInteger){
|
231
|
+
var self=this;
|
232
|
+
smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_moveAt_", [anInteger]);
|
233
|
+
smalltalk.send(self, "_updateHash", []);
|
234
|
+
return self;}
|
235
|
+
}),
|
236
|
+
smalltalk.PresentationNavigator);
|
237
|
+
|
238
|
+
smalltalk.addMethod(
|
239
|
+
unescape('_updateHash'),
|
240
|
+
smalltalk.method({
|
241
|
+
selector: unescape('updateHash'),
|
242
|
+
fn: function (){
|
243
|
+
var self=this;
|
244
|
+
smalltalk.send(smalltalk.send((typeof document == 'undefined' ? nil : document), "_location", []), "_hash_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", []), "_name", []), "__comma", [unescape("-")]), "__comma", [smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_currentSlideIndex", [])])]);
|
245
|
+
return self;}
|
246
|
+
}),
|
247
|
+
smalltalk.PresentationNavigator);
|
248
|
+
|
249
|
+
smalltalk.addMethod(
|
250
|
+
unescape('_checkHash'),
|
251
|
+
smalltalk.method({
|
252
|
+
selector: unescape('checkHash'),
|
253
|
+
fn: function (){
|
254
|
+
var self=this;
|
255
|
+
try{var hash=nil;
|
256
|
+
var presentation=nil;
|
257
|
+
(hash=smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send((typeof document == 'undefined' ? nil : document), "_location", []), "_hash", []), "_replace_with_", [unescape("%5E%23"), ""]), "_tokenize_", [unescape("-")]));
|
258
|
+
(presentation=smalltalk.send(smalltalk.send((smalltalk.Presentation || Presentation), "_concretePresentations", []), "_detect_ifNone_", [(function(aPresentationClass){return smalltalk.send(smalltalk.send(aPresentationClass, "_name", []), "__eq_eq", [smalltalk.send(hash, "_first", [])]);}), (function(){return (function(){throw({name: 'stReturn', selector: '_checkHash', fn: function(){return self}})})();})]));
|
259
|
+
((($receiver = smalltalk.send(presentation, "__eq_eq", [smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_class", [])])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){smalltalk.send(self, "_selectPresentationNamed_", [presentation]);return smalltalk.send(self, "_selectSlideAt_", [smalltalk.send(hash, "_last", [])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){smalltalk.send(self, "_selectPresentationNamed_", [presentation]);return smalltalk.send(self, "_selectSlideAt_", [smalltalk.send(hash, "_last", [])]);})]));
|
260
|
+
return self;
|
261
|
+
} catch(e) {if(e.name === 'stReturn' && e.selector === '_checkHash'){return e.fn()} throw(e)}}
|
262
|
+
}),
|
263
|
+
smalltalk.PresentationNavigator);
|
264
|
+
|
265
|
+
smalltalk.addMethod(
|
266
|
+
unescape('_checkHashChange'),
|
267
|
+
smalltalk.method({
|
268
|
+
selector: unescape('checkHashChange'),
|
269
|
+
fn: function (){
|
270
|
+
var self=this;
|
271
|
+
smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [(typeof window == 'undefined' ? nil : window)]), "_bind_do_", ["hashchange", (function(){return smalltalk.send(self, "_checkHash", []);})]);
|
272
|
+
return self;}
|
273
|
+
}),
|
274
|
+
smalltalk.PresentationNavigator);
|
275
|
+
|
276
|
+
smalltalk.addMethod(
|
277
|
+
unescape('_setKeybindings'),
|
278
|
+
smalltalk.method({
|
279
|
+
selector: unescape('setKeybindings'),
|
280
|
+
fn: function (){
|
281
|
+
var self=this;
|
282
|
+
smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [(typeof document == 'undefined' ? nil : document)]), "_keyup_", [(function(e){var node=nil;
|
283
|
+
(node=smalltalk.send(smalltalk.send(smalltalk.send(e, "_target", []), "_nodeName", []), "_asLowercase", []));return ((($receiver = smalltalk.send(smalltalk.send(node, "__eq", ["textarea"]), "_or_", [(function(){return smalltalk.send(node, "__eq", ["input"]);})])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){((($receiver = smalltalk.send(smalltalk.send(e, "_keyCode", []), "__eq", [(39)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_nextSlide", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_nextSlide", []);})]));return ((($receiver = smalltalk.send(smalltalk.send(e, "_keyCode", []), "__eq", [(37)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_previousSlide", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_previousSlide", []);})]));})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){((($receiver = smalltalk.send(smalltalk.send(e, "_keyCode", []), "__eq", [(39)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_nextSlide", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_nextSlide", []);})]));return ((($receiver = smalltalk.send(smalltalk.send(e, "_keyCode", []), "__eq", [(37)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_previousSlide", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_previousSlide", []);})]));})]));})]);
|
284
|
+
return self;}
|
285
|
+
}),
|
286
|
+
smalltalk.PresentationNavigator);
|
287
|
+
|
288
|
+
smalltalk.addMethod(
|
289
|
+
unescape('_renderToolsOn_'),
|
290
|
+
smalltalk.method({
|
291
|
+
selector: unescape('renderToolsOn%3A'),
|
292
|
+
fn: function (html){
|
293
|
+
var self=this;
|
294
|
+
(function($rec){smalltalk.send($rec, "_with_", ["IDE"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(smalltalk.send((smalltalk.TabManager || TabManager), "_current", []), "_open", []);})]);})(smalltalk.send(html, "_a", []));
|
295
|
+
(function($rec){smalltalk.send($rec, "_with_", ["Reload"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_reload", []);})]);})(smalltalk.send(html, "_a", []));
|
296
|
+
(function($rec){smalltalk.send($rec, "_with_", [unescape("%u2190")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_previousSlide", []);})]);})(smalltalk.send(html, "_a", []));
|
297
|
+
(function($rec){smalltalk.send($rec, "_with_", [unescape("%u2192")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_nextSlide", []);})]);})(smalltalk.send(html, "_a", []));
|
298
|
+
return self;}
|
299
|
+
}),
|
300
|
+
smalltalk.PresentationNavigator);
|
301
|
+
|
302
|
+
smalltalk.addMethod(
|
303
|
+
unescape('_renderPresentationSelectOn_'),
|
304
|
+
smalltalk.method({
|
305
|
+
selector: unescape('renderPresentationSelectOn%3A'),
|
306
|
+
fn: function (html){
|
307
|
+
var self=this;
|
308
|
+
var presentationSelect=nil;
|
309
|
+
(presentationSelect=smalltalk.send(html, "_select", []));
|
310
|
+
(function($rec){smalltalk.send($rec, "_onChange_", [(function(){return smalltalk.send(self, "_selectPresentationNamed_", [smalltalk.send(smalltalk.send(presentationSelect, "_asJQuery", []), "_val", [])]);})]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send((smalltalk.Presentation || Presentation), "_concretePresentationsDo_", [(function(aPresentationClass){return (function($rec){smalltalk.send($rec, "_value_", [smalltalk.send(aPresentationClass, "_name", [])]);return smalltalk.send($rec, "_with_", [smalltalk.send(aPresentationClass, "_title", [])]);})(smalltalk.send(html, "_option", []));})]);})]);})(presentationSelect);
|
311
|
+
return self;}
|
312
|
+
}),
|
313
|
+
smalltalk.PresentationNavigator);
|
314
|
+
|
315
|
+
smalltalk.addMethod(
|
316
|
+
unescape('_open'),
|
317
|
+
smalltalk.method({
|
318
|
+
selector: unescape('open'),
|
319
|
+
fn: function (){
|
320
|
+
var self=this;
|
321
|
+
smalltalk.send(smalltalk.send((typeof window == 'undefined' ? nil : window), "_jQuery_", [(typeof document == 'undefined' ? nil : document)]), "_ready_", [(function(){return (function($rec){smalltalk.send($rec, "_appendToJQuery_", [smalltalk.send("body", "_asJQuery", [])]);smalltalk.send($rec, "_setKeybindings", []);return smalltalk.send($rec, "_checkHashChange", []);})(self);})]);
|
322
|
+
return self;}
|
323
|
+
}),
|
324
|
+
smalltalk.PresentationNavigator);
|
325
|
+
|
326
|
+
smalltalk.addMethod(
|
327
|
+
unescape('_renderOn_'),
|
328
|
+
smalltalk.method({
|
329
|
+
selector: unescape('renderOn%3A'),
|
330
|
+
fn: function (html){
|
331
|
+
var self=this;
|
332
|
+
(function($rec){smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);})(smalltalk.send(html, "_style", []));
|
333
|
+
(function($rec){smalltalk.send($rec, "_id_", ["navigator"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_renderToolsOn_", [html]);smalltalk.send($rec, "_renderPresentationSelectOn_", [html]);return smalltalk.send($rec, "_renderSlideSelectOn_", [html]);})(self);})]);})(smalltalk.send(html, "_div", []));
|
334
|
+
(self['@presentationBrush']=(function($rec){smalltalk.send($rec, "_id_", ["presentation"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_div", [])));
|
335
|
+
smalltalk.send(self, "_checkHash", []);
|
336
|
+
smalltalk.send(self, "_renderCurrentPresentation", []);
|
337
|
+
return self;}
|
338
|
+
}),
|
339
|
+
smalltalk.PresentationNavigator);
|
340
|
+
|
341
|
+
smalltalk.addMethod(
|
342
|
+
unescape('_renderCurrentPresentation'),
|
343
|
+
smalltalk.method({
|
344
|
+
selector: unescape('renderCurrentPresentation'),
|
345
|
+
fn: function (){
|
346
|
+
var self=this;
|
347
|
+
smalltalk.send(self['@presentationBrush'], "_contents_", [(function(html){return smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_renderOn_", [html]);})]);
|
348
|
+
smalltalk.send(self, "_updateSlideSelect", []);
|
349
|
+
return self;}
|
350
|
+
}),
|
351
|
+
smalltalk.PresentationNavigator);
|
352
|
+
|
353
|
+
smalltalk.addMethod(
|
354
|
+
unescape('_renderSlideSelectOn_'),
|
355
|
+
smalltalk.method({
|
356
|
+
selector: unescape('renderSlideSelectOn%3A'),
|
357
|
+
fn: function (html){
|
358
|
+
var self=this;
|
359
|
+
(self['@slideSelect']=smalltalk.send(html, "_select", []));
|
360
|
+
smalltalk.send(self['@slideSelect'], "_onChange_", [(function(){return smalltalk.send(self, "_selectSlideAt_", [smalltalk.send(smalltalk.send(self['@slideSelect'], "_asJQuery", []), "_val", [])]);})]);
|
361
|
+
smalltalk.send(self, "_updateSlideSelect", []);
|
362
|
+
return self;}
|
363
|
+
}),
|
364
|
+
smalltalk.PresentationNavigator);
|
365
|
+
|
366
|
+
smalltalk.addMethod(
|
367
|
+
unescape('_updateSlideSelect'),
|
368
|
+
smalltalk.method({
|
369
|
+
selector: unescape('updateSlideSelect'),
|
370
|
+
fn: function (){
|
371
|
+
var self=this;
|
372
|
+
smalltalk.send(self['@slideSelect'], "_contents_", [(function(html){var index=nil;
|
373
|
+
(index=(0));return smalltalk.send(smalltalk.send(self, "_currentPresentation", []), "_slidesDo_", [(function(aSlide){(index=((($receiver = index).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)])));return (function($rec){smalltalk.send($rec, "_value_", [index]);return smalltalk.send($rec, "_with_", [smalltalk.send(aSlide, "_title", [])]);})(smalltalk.send(html, "_option", []));})]);})]);
|
374
|
+
return self;}
|
375
|
+
}),
|
376
|
+
smalltalk.PresentationNavigator);
|
377
|
+
|
378
|
+
|
379
|
+
smalltalk.addMethod(
|
380
|
+
unescape('_initialize'),
|
381
|
+
smalltalk.method({
|
382
|
+
selector: unescape('initialize'),
|
383
|
+
fn: function (){
|
384
|
+
var self=this;
|
385
|
+
return smalltalk.send(self, "_open", []);
|
386
|
+
return self;}
|
387
|
+
}),
|
388
|
+
smalltalk.PresentationNavigator.klass);
|
389
|
+
|
390
|
+
smalltalk.addMethod(
|
391
|
+
unescape('_open'),
|
392
|
+
smalltalk.method({
|
393
|
+
selector: unescape('open'),
|
394
|
+
fn: function (){
|
395
|
+
var self=this;
|
396
|
+
return smalltalk.send(smalltalk.send(self, "_new", []), "_open", []);
|
397
|
+
return self;}
|
398
|
+
}),
|
399
|
+
smalltalk.PresentationNavigator.klass);
|
400
|
+
|
401
|
+
|
402
|
+
smalltalk.addClass('Presentation', smalltalk.Widget, ['currentSlide', 'slides'], 'Presentation');
|
403
|
+
smalltalk.addMethod(
|
404
|
+
unescape('_title'),
|
405
|
+
smalltalk.method({
|
406
|
+
selector: unescape('title'),
|
407
|
+
fn: function (){
|
408
|
+
var self=this;
|
409
|
+
return smalltalk.send(smalltalk.send(self, "_class", []), "_title", []);
|
410
|
+
return self;}
|
411
|
+
}),
|
412
|
+
smalltalk.Presentation);
|
413
|
+
|
414
|
+
smalltalk.addMethod(
|
415
|
+
unescape('_author'),
|
416
|
+
smalltalk.method({
|
417
|
+
selector: unescape('author'),
|
418
|
+
fn: function (){
|
419
|
+
var self=this;
|
420
|
+
return "John Smith";
|
421
|
+
return self;}
|
422
|
+
}),
|
423
|
+
smalltalk.Presentation);
|
424
|
+
|
425
|
+
smalltalk.addMethod(
|
426
|
+
unescape('_url'),
|
427
|
+
smalltalk.method({
|
428
|
+
selector: unescape('url'),
|
429
|
+
fn: function (){
|
430
|
+
var self=this;
|
431
|
+
return unescape("http%3A//jtalk-project.org");
|
432
|
+
return self;}
|
433
|
+
}),
|
434
|
+
smalltalk.Presentation);
|
435
|
+
|
436
|
+
smalltalk.addMethod(
|
437
|
+
unescape('_description'),
|
438
|
+
smalltalk.method({
|
439
|
+
selector: unescape('description'),
|
440
|
+
fn: function (){
|
441
|
+
var self=this;
|
442
|
+
return "A presentation written in Jtalk";
|
443
|
+
return self;}
|
444
|
+
}),
|
445
|
+
smalltalk.Presentation);
|
446
|
+
|
447
|
+
smalltalk.addMethod(
|
448
|
+
unescape('_email'),
|
449
|
+
smalltalk.method({
|
450
|
+
selector: unescape('email'),
|
451
|
+
fn: function (){
|
452
|
+
var self=this;
|
453
|
+
return unescape("john@smith.com");
|
454
|
+
return self;}
|
455
|
+
}),
|
456
|
+
smalltalk.Presentation);
|
457
|
+
|
458
|
+
smalltalk.addMethod(
|
459
|
+
unescape('_slides'),
|
460
|
+
smalltalk.method({
|
461
|
+
selector: unescape('slides'),
|
462
|
+
fn: function (){
|
463
|
+
var self=this;
|
464
|
+
(($receiver = self['@slides']) == nil || $receiver == undefined) ? (function(){return smalltalk.send(self, "_initSlides", []);})() : $receiver;
|
465
|
+
return self['@slides'];
|
466
|
+
return self;}
|
467
|
+
}),
|
468
|
+
smalltalk.Presentation);
|
469
|
+
|
470
|
+
smalltalk.addMethod(
|
471
|
+
unescape('_slideClasses'),
|
472
|
+
smalltalk.method({
|
473
|
+
selector: unescape('slideClasses'),
|
474
|
+
fn: function (){
|
475
|
+
var self=this;
|
476
|
+
return smalltalk.send(self, "_subclassResponsibility", []);
|
477
|
+
return self;}
|
478
|
+
}),
|
479
|
+
smalltalk.Presentation);
|
480
|
+
|
481
|
+
smalltalk.addMethod(
|
482
|
+
unescape('_currentSlide'),
|
483
|
+
smalltalk.method({
|
484
|
+
selector: unescape('currentSlide'),
|
485
|
+
fn: function (){
|
486
|
+
var self=this;
|
487
|
+
return self['@currentSlide'];
|
488
|
+
return self;}
|
489
|
+
}),
|
490
|
+
smalltalk.Presentation);
|
491
|
+
|
492
|
+
smalltalk.addMethod(
|
493
|
+
unescape('_currentSlide_'),
|
494
|
+
smalltalk.method({
|
495
|
+
selector: unescape('currentSlide%3A'),
|
496
|
+
fn: function (aSlide){
|
497
|
+
var self=this;
|
498
|
+
(self['@currentSlide']=aSlide);
|
499
|
+
return self;}
|
500
|
+
}),
|
501
|
+
smalltalk.Presentation);
|
502
|
+
|
503
|
+
smalltalk.addMethod(
|
504
|
+
unescape('_slideTransition'),
|
505
|
+
smalltalk.method({
|
506
|
+
selector: unescape('slideTransition'),
|
507
|
+
fn: function (){
|
508
|
+
var self=this;
|
509
|
+
return "fade";
|
510
|
+
return self;}
|
511
|
+
}),
|
512
|
+
smalltalk.Presentation);
|
513
|
+
|
514
|
+
smalltalk.addMethod(
|
515
|
+
unescape('_style'),
|
516
|
+
smalltalk.method({
|
517
|
+
selector: unescape('style'),
|
518
|
+
fn: function (){
|
519
|
+
var self=this;
|
520
|
+
return "";
|
521
|
+
return self;}
|
522
|
+
}),
|
523
|
+
smalltalk.Presentation);
|
524
|
+
|
525
|
+
smalltalk.addMethod(
|
526
|
+
unescape('_nextSlide'),
|
527
|
+
smalltalk.method({
|
528
|
+
selector: unescape('nextSlide'),
|
529
|
+
fn: function (){
|
530
|
+
var self=this;
|
531
|
+
var next=nil;
|
532
|
+
(($receiver = smalltalk.send(self, "_currentSlide", [])) != nil && $receiver != undefined) ? (function(){(next=smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [((($receiver = smalltalk.send(self, "_currentSlideIndex", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)])), (function(){return nil;})]));return (($receiver = next) != nil && $receiver != undefined) ? (function(){(self['@currentSlide']=next);return smalltalk.send(next, "_show", []);})() : nil;})() : nil;
|
533
|
+
return self;}
|
534
|
+
}),
|
535
|
+
smalltalk.Presentation);
|
536
|
+
|
537
|
+
smalltalk.addMethod(
|
538
|
+
unescape('_showCurrentSlide'),
|
539
|
+
smalltalk.method({
|
540
|
+
selector: unescape('showCurrentSlide'),
|
541
|
+
fn: function (){
|
542
|
+
var self=this;
|
543
|
+
(($receiver = smalltalk.send(self, "_currentSlide", [])) != nil && $receiver != undefined) ? (function(){smalltalk.send(smalltalk.send(".slide", "_asJQuery", []), "_hide", []);smalltalk.send(smalltalk.send(smalltalk.send(unescape("%23"), "__comma", [smalltalk.send(smalltalk.send(self, "_currentSlide", []), "_id", [])]), "_asJQuery", []), "_show", []);return smalltalk.send(smalltalk.send("title", "_asJQuery", []), "_text_", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_title", []), "__comma", [unescape("%20-%20")]), "__comma", [smalltalk.send(smalltalk.send(self, "_currentSlide", []), "_id", [])])]);})() : nil;
|
544
|
+
return self;}
|
545
|
+
}),
|
546
|
+
smalltalk.Presentation);
|
547
|
+
|
548
|
+
smalltalk.addMethod(
|
549
|
+
unescape('_previousSlide'),
|
550
|
+
smalltalk.method({
|
551
|
+
selector: unescape('previousSlide'),
|
552
|
+
fn: function (){
|
553
|
+
var self=this;
|
554
|
+
var next=nil;
|
555
|
+
(($receiver = smalltalk.send(self, "_currentSlide", [])) != nil && $receiver != undefined) ? (function(){(next=smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [((($receiver = smalltalk.send(self, "_currentSlideIndex", [])).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)])), (function(){return nil;})]));return (($receiver = next) != nil && $receiver != undefined) ? (function(){(self['@currentSlide']=next);return smalltalk.send(next, "_show", []);})() : nil;})() : nil;
|
556
|
+
return self;}
|
557
|
+
}),
|
558
|
+
smalltalk.Presentation);
|
559
|
+
|
560
|
+
smalltalk.addMethod(
|
561
|
+
unescape('_moveAt_'),
|
562
|
+
smalltalk.method({
|
563
|
+
selector: unescape('moveAt%3A'),
|
564
|
+
fn: function (anInteger){
|
565
|
+
var self=this;
|
566
|
+
var next=nil;
|
567
|
+
(next=smalltalk.send(smalltalk.send(self, "_slides", []), "_at_ifAbsent_", [anInteger, (function(){return nil;})]));
|
568
|
+
(($receiver = next) != nil && $receiver != undefined) ? (function(){(self['@currentSlide']=next);return smalltalk.send(next, "_show", []);})() : nil;
|
569
|
+
return self;}
|
570
|
+
}),
|
571
|
+
smalltalk.Presentation);
|
572
|
+
|
573
|
+
smalltalk.addMethod(
|
574
|
+
unescape('_currentSlideIndex'),
|
575
|
+
smalltalk.method({
|
576
|
+
selector: unescape('currentSlideIndex'),
|
577
|
+
fn: function (){
|
578
|
+
var self=this;
|
579
|
+
return smalltalk.send(smalltalk.send(self, "_slides", []), "_indexOf_ifAbsent_", [smalltalk.send(self, "_currentSlide", []), (function(){return (1);})]);
|
580
|
+
return self;}
|
581
|
+
}),
|
582
|
+
smalltalk.Presentation);
|
583
|
+
|
584
|
+
smalltalk.addMethod(
|
585
|
+
unescape('_slidesDo_'),
|
586
|
+
smalltalk.method({
|
587
|
+
selector: unescape('slidesDo%3A'),
|
588
|
+
fn: function (aBlockWithArg){
|
589
|
+
var self=this;
|
590
|
+
smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [(function(aSlide){return smalltalk.send(aBlockWithArg, "_value_", [aSlide]);})]);
|
591
|
+
return self;}
|
592
|
+
}),
|
593
|
+
smalltalk.Presentation);
|
594
|
+
|
595
|
+
smalltalk.addMethod(
|
596
|
+
unescape('_initSlides'),
|
597
|
+
smalltalk.method({
|
598
|
+
selector: unescape('initSlides'),
|
599
|
+
fn: function (){
|
600
|
+
var self=this;
|
601
|
+
(self['@slides']=smalltalk.send(smalltalk.send(self, "_slideClasses", []), "_collect_", [(function(each){return smalltalk.send(each, "_on_", [self]);})]));
|
602
|
+
return self;}
|
603
|
+
}),
|
604
|
+
smalltalk.Presentation);
|
605
|
+
|
606
|
+
smalltalk.addMethod(
|
607
|
+
unescape('_renderOn_'),
|
608
|
+
smalltalk.method({
|
609
|
+
selector: unescape('renderOn%3A'),
|
610
|
+
fn: function (html){
|
611
|
+
var self=this;
|
612
|
+
(function($rec){smalltalk.send($rec, "_type_", [unescape("text/css")]);return smalltalk.send($rec, "_with_", [smalltalk.send(self, "_style", [])]);})(smalltalk.send(html, "_style", []));
|
613
|
+
(function($rec){smalltalk.send($rec, "_id_", ["slides"]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderSlidesOn_", [html]);})]);})(smalltalk.send(html, "_div", []));
|
614
|
+
return self;}
|
615
|
+
}),
|
616
|
+
smalltalk.Presentation);
|
617
|
+
|
618
|
+
smalltalk.addMethod(
|
619
|
+
unescape('_renderSlidesOn_'),
|
620
|
+
smalltalk.method({
|
621
|
+
selector: unescape('renderSlidesOn%3A'),
|
622
|
+
fn: function (html){
|
623
|
+
var self=this;
|
624
|
+
smalltalk.send(smalltalk.send(self, "_slides", []), "_do_", [(function(each){return smalltalk.send(each, "_renderOn_", [html]);})]);
|
625
|
+
(($receiver = self['@currentSlide']) == nil || $receiver == undefined) ? (function(){return (self['@currentSlide']=smalltalk.send(smalltalk.send(self, "_slides", []), "_first", []));})() : $receiver;
|
626
|
+
smalltalk.send(self, "_showCurrentSlide", []);
|
627
|
+
return self;}
|
628
|
+
}),
|
629
|
+
smalltalk.Presentation);
|
630
|
+
|
631
|
+
|
632
|
+
smalltalk.Presentation.klass.iVarNames = ['current'];
|
633
|
+
smalltalk.addMethod(
|
634
|
+
unescape('_concretePresentations'),
|
635
|
+
smalltalk.method({
|
636
|
+
selector: unescape('concretePresentations'),
|
637
|
+
fn: function (){
|
638
|
+
var self=this;
|
639
|
+
return smalltalk.send(smalltalk.send(self, "_allSubclasses", []), "_select_", [(function(aPresentationClass){return smalltalk.send(aPresentationClass, "_isConcrete", []);})]);
|
640
|
+
return self;}
|
641
|
+
}),
|
642
|
+
smalltalk.Presentation.klass);
|
643
|
+
|
644
|
+
smalltalk.addMethod(
|
645
|
+
unescape('_title'),
|
646
|
+
smalltalk.method({
|
647
|
+
selector: unescape('title'),
|
648
|
+
fn: function (){
|
649
|
+
var self=this;
|
650
|
+
return "Slides";
|
651
|
+
return self;}
|
652
|
+
}),
|
653
|
+
smalltalk.Presentation.klass);
|
654
|
+
|
655
|
+
smalltalk.addMethod(
|
656
|
+
unescape('_concretePresentationsDo_'),
|
657
|
+
smalltalk.method({
|
658
|
+
selector: unescape('concretePresentationsDo%3A'),
|
659
|
+
fn: function (aBlockWithArg){
|
660
|
+
var self=this;
|
661
|
+
smalltalk.send(smalltalk.send(self, "_concretePresentations", []), "_do_", [aBlockWithArg]);
|
662
|
+
return self;}
|
663
|
+
}),
|
664
|
+
smalltalk.Presentation.klass);
|
665
|
+
|
666
|
+
smalltalk.addMethod(
|
667
|
+
unescape('_isConcrete'),
|
668
|
+
smalltalk.method({
|
669
|
+
selector: unescape('isConcrete'),
|
670
|
+
fn: function (){
|
671
|
+
var self=this;
|
672
|
+
return false;
|
673
|
+
return self;}
|
674
|
+
}),
|
675
|
+
smalltalk.Presentation.klass);
|
676
|
+
|
677
|
+
|
678
|
+
smalltalk.addClass('FOSDEMSlide', smalltalk.Slide, [], 'Presentation');
|
679
|
+
smalltalk.addMethod(
|
680
|
+
unescape('_codeSnippet'),
|
681
|
+
smalltalk.method({
|
682
|
+
selector: unescape('codeSnippet'),
|
683
|
+
fn: function (){
|
684
|
+
var self=this;
|
685
|
+
smalltalk.send(self, "_subclassResponsibility", []);
|
686
|
+
return self;}
|
687
|
+
}),
|
688
|
+
smalltalk.FOSDEMSlide);
|
689
|
+
|
690
|
+
smalltalk.addMethod(
|
691
|
+
unescape('_renderSnippet_on_'),
|
692
|
+
smalltalk.method({
|
693
|
+
selector: unescape('renderSnippet%3Aon%3A'),
|
694
|
+
fn: function (aString, html){
|
695
|
+
var self=this;
|
696
|
+
smalltalk.send((function($rec){smalltalk.send($rec, "_renderOn_", [html]);return smalltalk.send($rec, "_editor", []);})(smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", [])), "_setValue_", [aString]);
|
697
|
+
return self;}
|
698
|
+
}),
|
699
|
+
smalltalk.FOSDEMSlide);
|
700
|
+
|
701
|
+
smalltalk.addMethod(
|
702
|
+
unescape('_renderCodeSnippetOn_'),
|
703
|
+
smalltalk.method({
|
704
|
+
selector: unescape('renderCodeSnippetOn%3A'),
|
705
|
+
fn: function (html){
|
706
|
+
var self=this;
|
707
|
+
smalltalk.send((function($rec){smalltalk.send($rec, "_renderOn_", [html]);return smalltalk.send($rec, "_editor", []);})(smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", [])), "_setValue_", [smalltalk.send(self, "_codeSnippet", [])]);
|
708
|
+
return self;}
|
709
|
+
}),
|
710
|
+
smalltalk.FOSDEMSlide);
|
711
|
+
|
712
|
+
|
713
|
+
|
714
|
+
smalltalk.addClass('FOSDEMREPLSlide', smalltalk.FOSDEMSlide, [], 'Presentation');
|
715
|
+
smalltalk.addMethod(
|
716
|
+
unescape('_renderSlideOn_'),
|
717
|
+
smalltalk.method({
|
718
|
+
selector: unescape('renderSlideOn%3A'),
|
719
|
+
fn: function (html){
|
720
|
+
var self=this;
|
721
|
+
smalltalk.send(html, "_h1_", ["REPL"]);
|
722
|
+
smalltalk.send(self, "_renderCodeSnippetOn_", [html]);
|
723
|
+
return self;}
|
724
|
+
}),
|
725
|
+
smalltalk.FOSDEMREPLSlide);
|
726
|
+
|
727
|
+
smalltalk.addMethod(
|
728
|
+
unescape('_codeSnippet'),
|
729
|
+
smalltalk.method({
|
730
|
+
selector: unescape('codeSnippet'),
|
731
|
+
fn: function (){
|
732
|
+
var self=this;
|
733
|
+
return unescape("./bin/amber%0Afs%20%3A%3D%20require%20value%3A%20%27fs%27.%0Afs%20readdir%3A%20%27/tmp%27%20do%3A%20%5B%3Aerr%20%3Afile%7C%20console%20log%3A%20file%5D");
|
734
|
+
return self;}
|
735
|
+
}),
|
736
|
+
smalltalk.FOSDEMREPLSlide);
|
737
|
+
|
738
|
+
|
739
|
+
|
740
|
+
smalltalk.addClass('FOSDEMJSToSmalltalk', smalltalk.FOSDEMSlide, [], 'Presentation');
|
741
|
+
smalltalk.addMethod(
|
742
|
+
unescape('_cssClass'),
|
743
|
+
smalltalk.method({
|
744
|
+
selector: unescape('cssClass'),
|
745
|
+
fn: function (){
|
746
|
+
var self=this;
|
747
|
+
return "slide blue3d";
|
748
|
+
return self;}
|
749
|
+
}),
|
750
|
+
smalltalk.FOSDEMJSToSmalltalk);
|
751
|
+
|
752
|
+
smalltalk.addMethod(
|
753
|
+
unescape('_codeSnippet'),
|
754
|
+
smalltalk.method({
|
755
|
+
selector: unescape('codeSnippet'),
|
756
|
+
fn: function (){
|
757
|
+
var self=this;
|
758
|
+
return unescape("var%20counter%20%3D%20window.smalltalk.Counter._new%28%29%3B%0Acounter._appendToJQuery_%28%24%28%27%23jsToSmalltalk%27%29%29%3B");
|
759
|
+
return self;}
|
760
|
+
}),
|
761
|
+
smalltalk.FOSDEMJSToSmalltalk);
|
762
|
+
|
763
|
+
smalltalk.addMethod(
|
764
|
+
unescape('_renderSlideOn_'),
|
765
|
+
smalltalk.method({
|
766
|
+
selector: unescape('renderSlideOn%3A'),
|
767
|
+
fn: function (html){
|
768
|
+
var self=this;
|
769
|
+
smalltalk.send(html, "_h1_", ["Call Smalltalk from Javascript"]);
|
770
|
+
(function($rec){smalltalk.send($rec, "_id_", ["jsToSmalltalk"]);return smalltalk.send($rec, "_style_", ["float: left"]);})(smalltalk.send(html, "_div", []));
|
771
|
+
smalltalk.send(self, "_renderCodeSnippetOn_", [html]);
|
772
|
+
return self;}
|
773
|
+
}),
|
774
|
+
smalltalk.FOSDEMJSToSmalltalk);
|
775
|
+
|
776
|
+
|
777
|
+
|
778
|
+
smalltalk.addClass('FOSDEMCanvasSlide', smalltalk.FOSDEMSlide, ['c2d', 'canvas'], 'Presentation');
|
779
|
+
smalltalk.addMethod(
|
780
|
+
unescape('_cssClass'),
|
781
|
+
smalltalk.method({
|
782
|
+
selector: unescape('cssClass'),
|
783
|
+
fn: function (){
|
784
|
+
var self=this;
|
785
|
+
return "slide red3d";
|
786
|
+
return self;}
|
787
|
+
}),
|
788
|
+
smalltalk.FOSDEMCanvasSlide);
|
789
|
+
|
790
|
+
smalltalk.addMethod(
|
791
|
+
unescape('_drawOnCanvas'),
|
792
|
+
smalltalk.method({
|
793
|
+
selector: unescape('drawOnCanvas'),
|
794
|
+
fn: function (){
|
795
|
+
var self=this;
|
796
|
+
var c2d=nil;
|
797
|
+
(self['@c2d']=smalltalk.send(smalltalk.send(self['@canvas'], "_element", []), "_getContext_", ["2d"]));
|
798
|
+
smalltalk.send(self['@c2d'], "_clearRect_y_width_height_", [(0), (0), smalltalk.send(smalltalk.send(self['@canvas'], "_element", []), "_width", []), smalltalk.send(smalltalk.send(self['@canvas'], "_element", []), "_height", [])]);
|
799
|
+
smalltalk.send(smalltalk.send((40), "_atRandom", []), "_timesRepeat_", [(function(){var rgba=nil;
|
800
|
+
(rgba=smalltalk.send(unescape("%2C"), "_join_", [[smalltalk.send((255), "_atRandom", []),smalltalk.send((255), "_atRandom", []),smalltalk.send((255), "_atRandom", []),((($receiver = smalltalk.send((10), "_atRandom", [])).klass === smalltalk.Number) ? $receiver /(10) : smalltalk.send($receiver, "__slash", [(10)]))]]));smalltalk.send(self['@c2d'], "_at_put_", ["fillStyle", smalltalk.send(smalltalk.send(unescape("rgba%28"), "__comma", [rgba]), "__comma", [unescape("%29")])]);return smalltalk.send(self['@c2d'], "_fillRect_y_width_height_", [smalltalk.send((600), "_atRandom", []), smalltalk.send((300), "_atRandom", []), smalltalk.send((200), "_atRandom", []), smalltalk.send((200), "_atRandom", [])]);})]);
|
801
|
+
return self;}
|
802
|
+
}),
|
803
|
+
smalltalk.FOSDEMCanvasSlide);
|
804
|
+
|
805
|
+
smalltalk.addMethod(
|
806
|
+
unescape('_renderSlideOn_'),
|
807
|
+
smalltalk.method({
|
808
|
+
selector: unescape('renderSlideOn%3A'),
|
809
|
+
fn: function (html){
|
810
|
+
var self=this;
|
811
|
+
smalltalk.send(html, "_h1_", ["Playing with canvas"]);
|
812
|
+
(self['@canvas']=(function($rec){smalltalk.send($rec, "_width_", [(700)]);return smalltalk.send($rec, "_height_", [(400)]);})(smalltalk.send(html, "_canvas", [])));
|
813
|
+
smalltalk.send(self, "_updateCanvas", []);
|
814
|
+
return self;}
|
815
|
+
}),
|
816
|
+
smalltalk.FOSDEMCanvasSlide);
|
817
|
+
|
818
|
+
smalltalk.addMethod(
|
819
|
+
unescape('_updateCanvas'),
|
820
|
+
smalltalk.method({
|
821
|
+
selector: unescape('updateCanvas'),
|
822
|
+
fn: function (){
|
823
|
+
var self=this;
|
824
|
+
smalltalk.send(self, "_drawOnCanvas", []);
|
825
|
+
smalltalk.send((typeof window == 'undefined' ? nil : window), "_setTimeout_delay_", [(function(){return smalltalk.send(self, "_updateCanvas", []);}), (500)]);
|
826
|
+
return self;}
|
827
|
+
}),
|
828
|
+
smalltalk.FOSDEMCanvasSlide);
|
829
|
+
|
830
|
+
|
831
|
+
|
832
|
+
smalltalk.addClass('FOSDEMJSPlayGroundSlide', smalltalk.FOSDEMSlide, [], 'Presentation');
|
833
|
+
smalltalk.addMethod(
|
834
|
+
unescape('_codeSnippet'),
|
835
|
+
smalltalk.method({
|
836
|
+
selector: unescape('codeSnippet'),
|
837
|
+
fn: function (){
|
838
|
+
var self=this;
|
839
|
+
return unescape("%7Clogo%7C%0Alogo%3A%3D%27img%23amberlogo%27%20asJQuery.%0A%0Alogo%0A%20%20css%3A%27-webkit-transition%27%20put%3A%27all%2010s%20ease-in-out%27.%0A%0A%3Clogo.css%28%27-webkit-transform%27%2C%20%27rotateY%28360deg%29%27%29%3B%3E.%0A%0Alogo%20click%3A%20%5Bwindow%20alert%3A%20%27This%20is%20cool%20%21%27%5D.%0A%0Alogo%20inspect");
|
840
|
+
return self;}
|
841
|
+
}),
|
842
|
+
smalltalk.FOSDEMJSPlayGroundSlide);
|
843
|
+
|
844
|
+
smalltalk.addMethod(
|
845
|
+
unescape('_renderSlideOn_'),
|
846
|
+
smalltalk.method({
|
847
|
+
selector: unescape('renderSlideOn%3A'),
|
848
|
+
fn: function (html){
|
849
|
+
var self=this;
|
850
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(self, "_renderCodeSnippetOn_", [html]);return (function($rec){smalltalk.send($rec, "_id_", ["amberlogo"]);return smalltalk.send($rec, "_src_", [unescape("fosdem2012/images/amber.png")]);})(smalltalk.send(html, "_img", []));})]);})(smalltalk.send(html, "_div", []));
|
851
|
+
return self;}
|
852
|
+
}),
|
853
|
+
smalltalk.FOSDEMJSPlayGroundSlide);
|
854
|
+
|
855
|
+
|
856
|
+
|
857
|
+
smalltalk.addClass('FOSDEMAmberBackend', smalltalk.FOSDEMSlide, [], 'Presentation');
|
858
|
+
smalltalk.addMethod(
|
859
|
+
unescape('_cssClass'),
|
860
|
+
smalltalk.method({
|
861
|
+
selector: unescape('cssClass'),
|
862
|
+
fn: function (){
|
863
|
+
var self=this;
|
864
|
+
return "slide green3d";
|
865
|
+
return self;}
|
866
|
+
}),
|
867
|
+
smalltalk.FOSDEMAmberBackend);
|
868
|
+
|
869
|
+
smalltalk.addMethod(
|
870
|
+
unescape('_renderSlideOn_'),
|
871
|
+
smalltalk.method({
|
872
|
+
selector: unescape('renderSlideOn%3A'),
|
873
|
+
fn: function (html){
|
874
|
+
var self=this;
|
875
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(html, "_h1_", [unescape("Need%20a%20backend%20%3F")]);return smalltalk.send(["nodejs.png","php.gif","rails.png","pharo.png","ambrhino.jpg"], "_do_", [(function(aString){return smalltalk.send(html, "_img_", [smalltalk.send(unescape("fosdem2012/images/"), "__comma", [aString])]);})]);})]);})(smalltalk.send(html, "_div", []));
|
876
|
+
return self;}
|
877
|
+
}),
|
878
|
+
smalltalk.FOSDEMAmberBackend);
|
879
|
+
|
880
|
+
|
881
|
+
|
882
|
+
smalltalk.addClass('FOSDEMBookletSlide', smalltalk.FOSDEMSlide, [], 'Presentation');
|
883
|
+
smalltalk.addMethod(
|
884
|
+
unescape('_cssClass'),
|
885
|
+
smalltalk.method({
|
886
|
+
selector: unescape('cssClass'),
|
887
|
+
fn: function (){
|
888
|
+
var self=this;
|
889
|
+
return "slide blue3d";
|
890
|
+
return self;}
|
891
|
+
}),
|
892
|
+
smalltalk.FOSDEMBookletSlide);
|
893
|
+
|
894
|
+
smalltalk.addMethod(
|
895
|
+
unescape('_style'),
|
896
|
+
smalltalk.method({
|
897
|
+
selector: unescape('style'),
|
898
|
+
fn: function (){
|
899
|
+
var self=this;
|
900
|
+
return unescape("%0A%23book%20%7B%20font-size%3A%201.4em%3B%20%7D%0A%23book%20.b-load%20.b-wrap-right%20%7B%20background-color%3A%20%23DEC3A9%3B%7D%0A%23book%20.b-load%20.b-wrap-left%20%7B%20background-color%3A%20%23DDD%3B%7D%20%0A");
|
901
|
+
return self;}
|
902
|
+
}),
|
903
|
+
smalltalk.FOSDEMBookletSlide);
|
904
|
+
|
905
|
+
smalltalk.addMethod(
|
906
|
+
unescape('_renderSlideOn_'),
|
907
|
+
smalltalk.method({
|
908
|
+
selector: unescape('renderSlideOn%3A'),
|
909
|
+
fn: function (html){
|
910
|
+
var self=this;
|
911
|
+
smalltalk.send(self, "_renderBookOn_", [html]);
|
912
|
+
(function($rec){smalltalk.send($rec, "_rel_", ["stylesheet"]);return smalltalk.send($rec, "_href_", [unescape("fosdem2012/lib/booklet/jquery.booklet.1.2.0.css")]);})(smalltalk.send(html, "_link", []));
|
913
|
+
smalltalk.send(html, "_style_", [smalltalk.send(self, "_style", [])]);
|
914
|
+
smalltalk.send((typeof jQuery == 'undefined' ? nil : jQuery), "_getScript_do_", [unescape("fosdem2012/lib/booklet/jquery.booklet.1.2.0.min.js"), (function(){return smalltalk.send(smalltalk.send(unescape("%23book"), "_asJQuery", []), "_booklet_", [smalltalk.send(self, "_bookletOptions", [])]);})]);
|
915
|
+
return self;}
|
916
|
+
}),
|
917
|
+
smalltalk.FOSDEMBookletSlide);
|
918
|
+
|
919
|
+
smalltalk.addMethod(
|
920
|
+
unescape('_renderBookOn_'),
|
921
|
+
smalltalk.method({
|
922
|
+
selector: unescape('renderBookOn%3A'),
|
923
|
+
fn: function (html){
|
924
|
+
var self=this;
|
925
|
+
(function($rec){smalltalk.send($rec, "_id_", ["book"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("b-load")]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_div_", ["Amber makes it easy to plug existing javascript libraires"]);smalltalk.send($rec, "_div_", ["Here is an example with the jQuery Booklet plugin"]);smalltalk.send($rec, "_div_", [unescape("Want%20to%20see%20how%20%3F")]);return smalltalk.send($rec, "_div_", [(function(){return (function($rec){smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send((smalltalk.Browser || Browser), "_openOn_", [(smalltalk.FOSDEMBookletSlide || FOSDEMBookletSlide)]);})]);return smalltalk.send($rec, "_with_", [unescape("Just%20browse%20the%20code%20%3A%29")]);})(smalltalk.send(html, "_button", []));})]);})(html);})]);})(smalltalk.send(html, "_div", []));})]);})(smalltalk.send(html, "_div", []));
|
926
|
+
return self;}
|
927
|
+
}),
|
928
|
+
smalltalk.FOSDEMBookletSlide);
|
929
|
+
|
930
|
+
smalltalk.addMethod(
|
931
|
+
unescape('_bookletOptions'),
|
932
|
+
smalltalk.method({
|
933
|
+
selector: unescape('bookletOptions'),
|
934
|
+
fn: function (){
|
935
|
+
var self=this;
|
936
|
+
return smalltalk.HashedCollection._fromPairs_([smalltalk.send("arrows", "__minus_gt", [true]),smalltalk.send("keyboard", "__minus_gt", [false]),smalltalk.send("pageNumbers", "__minus_gt", [false]),smalltalk.send("closed", "__minus_gt", [true])]);
|
937
|
+
return self;}
|
938
|
+
}),
|
939
|
+
smalltalk.FOSDEMBookletSlide);
|
940
|
+
|
941
|
+
|
942
|
+
|
943
|
+
smalltalk.addClass('FOSDEMIntroSlide', smalltalk.FOSDEMSlide, [], 'Presentation');
|
944
|
+
smalltalk.addMethod(
|
945
|
+
unescape('_renderSlideOn_'),
|
946
|
+
smalltalk.method({
|
947
|
+
selector: unescape('renderSlideOn%3A'),
|
948
|
+
fn: function (html){
|
949
|
+
var self=this;
|
950
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section center animate"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_img", []), "_src_", [unescape("fosdem2012/images/amber.png")]);smalltalk.send(html, "_p_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_author", [])]);smalltalk.send(html, "_p_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_description", [])]);return smalltalk.send(html, "_p_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_email", [])]);})]);})]);})(smalltalk.send(html, "_div", []));
|
951
|
+
return self;}
|
952
|
+
}),
|
953
|
+
smalltalk.FOSDEMIntroSlide);
|
954
|
+
|
955
|
+
|
956
|
+
|
957
|
+
smalltalk.addClass('ESUG2011Presentation', smalltalk.Presentation, [], 'Presentation');
|
958
|
+
smalltalk.addMethod(
|
959
|
+
unescape('_description'),
|
960
|
+
smalltalk.method({
|
961
|
+
selector: unescape('description'),
|
962
|
+
fn: function (){
|
963
|
+
var self=this;
|
964
|
+
return unescape("ESUG%202011%2C%20Edinburgh");
|
965
|
+
return self;}
|
966
|
+
}),
|
967
|
+
smalltalk.ESUG2011Presentation);
|
968
|
+
|
969
|
+
smalltalk.addMethod(
|
970
|
+
unescape('_author'),
|
971
|
+
smalltalk.method({
|
972
|
+
selector: unescape('author'),
|
973
|
+
fn: function (){
|
974
|
+
var self=this;
|
975
|
+
return "Nicolas Petton";
|
976
|
+
return self;}
|
977
|
+
}),
|
978
|
+
smalltalk.ESUG2011Presentation);
|
979
|
+
|
980
|
+
smalltalk.addMethod(
|
981
|
+
unescape('_email'),
|
982
|
+
smalltalk.method({
|
983
|
+
selector: unescape('email'),
|
984
|
+
fn: function (){
|
985
|
+
var self=this;
|
986
|
+
return unescape("nico@objectfusion.fr");
|
987
|
+
return self;}
|
988
|
+
}),
|
989
|
+
smalltalk.ESUG2011Presentation);
|
990
|
+
|
991
|
+
smalltalk.addMethod(
|
992
|
+
unescape('_url'),
|
993
|
+
smalltalk.method({
|
994
|
+
selector: unescape('url'),
|
995
|
+
fn: function (){
|
996
|
+
var self=this;
|
997
|
+
return unescape("http%3A//jtalk-project.org");
|
998
|
+
return self;}
|
999
|
+
}),
|
1000
|
+
smalltalk.ESUG2011Presentation);
|
1001
|
+
|
1002
|
+
smalltalk.addMethod(
|
1003
|
+
unescape('_slideClasses'),
|
1004
|
+
smalltalk.method({
|
1005
|
+
selector: unescape('slideClasses'),
|
1006
|
+
fn: function (){
|
1007
|
+
var self=this;
|
1008
|
+
return (function($rec){smalltalk.send($rec, "_add_", [(smalltalk.IntroSlide || IntroSlide)]);smalltalk.send($rec, "_add_", [(smalltalk.AboutSlide || AboutSlide)]);smalltalk.send($rec, "_add_", [(smalltalk.WhatIsJtalkSlide || WhatIsJtalkSlide)]);smalltalk.send($rec, "_add_", [(smalltalk.JtalkFeaturesSlide || JtalkFeaturesSlide)]);smalltalk.send($rec, "_add_", [(smalltalk.WorkspaceSlide || WorkspaceSlide)]);smalltalk.send($rec, "_add_", [(smalltalk.IDESlide || IDESlide)]);smalltalk.send($rec, "_add_", [(smalltalk.CountersSlide || CountersSlide)]);smalltalk.send($rec, "_add_", [(smalltalk.JtalkAndJavascriptSlide || JtalkAndJavascriptSlide)]);smalltalk.send($rec, "_add_", [(smalltalk.JtalkAndJavascriptSlide2 || JtalkAndJavascriptSlide2)]);smalltalk.send($rec, "_add_", [(smalltalk.JtalkAndJavascriptSlide3 || JtalkAndJavascriptSlide3)]);smalltalk.send($rec, "_add_", [(smalltalk.JtalkAndJavascriptSlide4 || JtalkAndJavascriptSlide4)]);smalltalk.send($rec, "_add_", [(smalltalk.JtalkAndCLI || JtalkAndCLI)]);smalltalk.send($rec, "_add_", [(smalltalk.JtalkAndNode || JtalkAndNode)]);smalltalk.send($rec, "_add_", [(smalltalk.JtalkAndNode2 || JtalkAndNode2)]);smalltalk.send($rec, "_add_", [(smalltalk.JtalkAndNode3 || JtalkAndNode3)]);smalltalk.send($rec, "_add_", [(smalltalk.JtalkAndWebOS || JtalkAndWebOS)]);smalltalk.send($rec, "_add_", [(smalltalk.JtalkAndEnyo || JtalkAndEnyo)]);smalltalk.send($rec, "_add_", [(smalltalk.ContributionsSlide || ContributionsSlide)]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Array || Array), "_new", []));
|
1009
|
+
return self;}
|
1010
|
+
}),
|
1011
|
+
smalltalk.ESUG2011Presentation);
|
1012
|
+
|
1013
|
+
smalltalk.addMethod(
|
1014
|
+
unescape('_style'),
|
1015
|
+
smalltalk.method({
|
1016
|
+
selector: unescape('style'),
|
1017
|
+
fn: function (){
|
1018
|
+
var self=this;
|
1019
|
+
return unescape("%0Abody%20%7B%0A%20%20%20%20font-family%3A%20Helvetica%2CArial%2Csans%3B%0A%7D%0A%0A%23slides%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20left%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20background%3A%20%23fff%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%20%20%20%20font-size%3A%2020px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20height%3A%20500px%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20padding%3A%2060px%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-420px%3B%0A%20%20%20%20margin-top%3A%20-320px%3B%0A%20%20%20%20box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%2020px%20%23111%3B%0A%7D%0A%0A.slide.transparent%20%7B%0A%20%20%20%20background%3A%20transparent%3B%0A%20%20%20%20box-shadow%3A%200%200%200%20none%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20%7B%0A%20%20%20%20background%3A%20black%3B%0A%20%20%20%20background-image%3A%20-webkit-gradient%28%0A%09linear%2C%0A%09left%20bottom%2C%0A%09left%20top%2C%0A%09color-stop%280.38%2C%20rgb%2879%2C79%2C79%29%29%2C%0A%09color-stop%280.69%2C%20rgb%2833%2C33%2C33%29%29%2C%0A%09color-stop%280.86%2C%20rgb%284%2C4%2C4%29%29%0A%20%20%20%20%29%3B%0A%20%20%20%20background-image%3A%20-moz-linear-gradient%28%0A%09center%20bottom%2C%0A%09rgb%2879%2C79%2C79%29%2038%25%2C%0A%09rgb%2833%2C33%2C33%29%2069%25%2C%0A%09rgb%284%2C4%2C4%29%2086%25%0A%20%20%20%20%29%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20h1%2C%20.slide.black%20h2%2C%20.slide.black%20h3%2C%0A.slide.transparent%20h1%2C%20.slide.transparent%20h2%2C%20.slide.transparent%20h3%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%7D%0A%0A.slide.black%20a%2C%20.slide.transparent%20a%20%7B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%7D%0A%0A.slide.white%20%7B%0A%20%20%20%20color%3A%20%23333%20%21important%3B%0A%7D%0A%0A.slide.white%20h1%2C%20.slide.white%20h2%2C%20.slide.white%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A.slide.white%20a%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A%0A.slide%20h1%2C%20.slide%20h2%2C%20.slide%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%20%20%20%20/*%20text-align%3A%20center%3B%20*/%0A%7D%0A%0A.slide%20h1%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2036px%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20margin-bottom%3A%2050px%3B%0A%7D%0A%0A/*%20.slide%20ul%2C%20.slide%20li%20%7B%20*/%0A/*%20%20%20%20%20padding%3A%200%3B%20*/%0A/*%20%20%20%20%20margin%3A%200%3B%20*/%0A/*%20%7D%20*/%0A%0A.slide%20button%20%7B%0A%20%20%20%20font-size%3A%2018px%3B%0A%7D%0A%0A.slide%20a%20%7B%0A%20%20%20%20color%3A%20%23555%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%7D%0A%0A.slide%20a%3Ahover%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20.right%20%7B%0A%20%20%20%20text-align%3A%20right%3B%0A%7D%0A%0A.slide%20.section.center%20%7B%0A%20%20%20%20text-align%3A%20center%3B%0A%20%20%20%20display%3A%20table-cell%3B%0A%20%20%20%20vertical-align%3A%20middle%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20height%3A%20500px%3B%0A%7D%0A%0A.slide%20code%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20border%3A%201px%20solid%20%23ddd%3B%0A%20%20%20%20background%3A%20%23eee%3B%0A%20%20%20%20border-radius%3A%204px%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A.slide%20.code2%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20line-height%3A%201.2em%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A%0A.slide%20.CodeMirror%20%7B%0A%20%20%20%20width%3A%20500px%3B%0A%20%20%20%20height%3A%20300px%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.CodeMirror-scroll%20%7B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.fancy%20%7B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20-webkit-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20-moz-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.comment%20%7B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20font-weight%3A%20normal%3B%0A%7D%0A%0A.slide%20.red%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.blue%20%7B%0A%20%20%20%20color%3A%20blue%3B%0A%7D%0A%0A.slide%23WhatIsJtalk%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/balloon.jpg%22%29%20650px%2050px%20no-repeat%3B%0A%7D%0A%0A.slide%23ide%20%7B%0A%20%20%20%20background%3A%20black%20url%28%22esug2011/images/ide_star_wars.png%22%29%20center%20center%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndCLI%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/terminal.png%22%29%20620px%2020px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A.slide%23JtalkAndNode2%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndNode3%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/nodejs.png%22%29%20580px%2040px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndWebOS%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/devices.jpg%22%29%20380px%20280px%20no-repeat%3B%0A%7D%0A%0A.slide%23JtalkAndEnyo%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/enyo.png%22%29%20130px%20150px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/asterix.png%22%29%2030px%20130px%20no-repeat%3B%0A%7D%0A%0A.slide%23links%20.section%20%7B%0A%20%20%20%20margin-left%3A%20250px%3B%0A%20%20%20%20margin-top%3A%20200px%3B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2026px%3B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%7D%0A%0A%0A%23meta%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20font-size%3A%2012px%3B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20z-index%3A%202%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20text-align%3A%20right%3B%0A%20%20%20%20padding%3A%200%2010px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20border-top-left-radius%3A%205px%3B%0A%7D%0A%0A%23meta%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%0A%23meta%20p%20%7B%0A%20%20%20%20display%3A%20inline%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A%23meta%20a%20%7B%0A%20%20%20%20//background%3A%20%23ccc%3B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20%0A%7D%0A");
|
1020
|
+
return self;}
|
1021
|
+
}),
|
1022
|
+
smalltalk.ESUG2011Presentation);
|
1023
|
+
|
1024
|
+
|
1025
|
+
smalltalk.ESUG2011Presentation.klass.iVarNames = ['current'];
|
1026
|
+
smalltalk.addMethod(
|
1027
|
+
unescape('_title'),
|
1028
|
+
smalltalk.method({
|
1029
|
+
selector: unescape('title'),
|
1030
|
+
fn: function (){
|
1031
|
+
var self=this;
|
1032
|
+
return "Jtalk";
|
1033
|
+
return self;}
|
1034
|
+
}),
|
1035
|
+
smalltalk.ESUG2011Presentation.klass);
|
1036
|
+
|
1037
|
+
smalltalk.addMethod(
|
1038
|
+
unescape('_isConcrete'),
|
1039
|
+
smalltalk.method({
|
1040
|
+
selector: unescape('isConcrete'),
|
1041
|
+
fn: function (){
|
1042
|
+
var self=this;
|
1043
|
+
return true;
|
1044
|
+
return self;}
|
1045
|
+
}),
|
1046
|
+
smalltalk.ESUG2011Presentation.klass);
|
1047
|
+
|
1048
|
+
|
1049
|
+
smalltalk.addClass('IntroSlide', smalltalk.Slide, [], 'Presentation');
|
1050
|
+
smalltalk.addMethod(
|
1051
|
+
unescape('_id'),
|
1052
|
+
smalltalk.method({
|
1053
|
+
selector: unescape('id'),
|
1054
|
+
fn: function (){
|
1055
|
+
var self=this;
|
1056
|
+
return "intro";
|
1057
|
+
return self;}
|
1058
|
+
}),
|
1059
|
+
smalltalk.IntroSlide);
|
1060
|
+
|
1061
|
+
smalltalk.addMethod(
|
1062
|
+
unescape('_cssClass'),
|
1063
|
+
smalltalk.method({
|
1064
|
+
selector: unescape('cssClass'),
|
1065
|
+
fn: function (){
|
1066
|
+
var self=this;
|
1067
|
+
return "slide black";
|
1068
|
+
return self;}
|
1069
|
+
}),
|
1070
|
+
smalltalk.IntroSlide);
|
1071
|
+
|
1072
|
+
smalltalk.addMethod(
|
1073
|
+
unescape('_renderSlideOn_'),
|
1074
|
+
smalltalk.method({
|
1075
|
+
selector: unescape('renderSlideOn%3A'),
|
1076
|
+
fn: function (html){
|
1077
|
+
var self=this;
|
1078
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [unescape("Jtalk%2C%20the%20Smalltalk%20for%20Web%20developers")]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_presentation", []), "_author", []), "__comma", [unescape("%20%26%20G%F6ran%20Krampe%20-%20")]), "__comma", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_description", [])])]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_email", [])]);return smalltalk.send($rec, "_href_", [smalltalk.send("mailto:", "__comma", [smalltalk.send(smalltalk.send(self, "_presentation", []), "_email", [])])]);})(smalltalk.send(html, "_a", []));})]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", [unescape("goran@krampe.se")]);return smalltalk.send($rec, "_href_", [unescape("mailto%3Agoran@krampe.se")]);})(smalltalk.send(html, "_a", []));})]);return smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", ["objectfusion.fr"]);return smalltalk.send($rec, "_href_", [unescape("http%3A//www.objectfusion.fr")]);})(smalltalk.send(html, "_a", []));})]);})]);})(smalltalk.send(html, "_div", []));
|
1079
|
+
return self;}
|
1080
|
+
}),
|
1081
|
+
smalltalk.IntroSlide);
|
1082
|
+
|
1083
|
+
|
1084
|
+
|
1085
|
+
smalltalk.addClass('WhatIsJtalkSlide', smalltalk.Slide, [], 'Presentation');
|
1086
|
+
smalltalk.addMethod(
|
1087
|
+
unescape('_id'),
|
1088
|
+
smalltalk.method({
|
1089
|
+
selector: unescape('id'),
|
1090
|
+
fn: function (){
|
1091
|
+
var self=this;
|
1092
|
+
return "WhatIsJtalk";
|
1093
|
+
return self;}
|
1094
|
+
}),
|
1095
|
+
smalltalk.WhatIsJtalkSlide);
|
1096
|
+
|
1097
|
+
smalltalk.addMethod(
|
1098
|
+
unescape('_renderSlideOn_'),
|
1099
|
+
smalltalk.method({
|
1100
|
+
selector: unescape('renderSlideOn%3A'),
|
1101
|
+
fn: function (html){
|
1102
|
+
var self=this;
|
1103
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["Jtalk in a nutshell"]);smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Jtalk is an implementation of Smalltalk"]);smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Jtalk runs on top of the JavaScript runtime"]);smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("Jtalk%20is%20an%20opensource%20project%20%28MIT%29")]);return (function($rec){smalltalk.send($rec, "_class_", ["fancy"]);return smalltalk.send($rec, "_with_", [unescape("Jtalk%20is%20cool%21")]);})(smalltalk.send(html, "_h2", []));})]);})(smalltalk.send(html, "_div", []));
|
1104
|
+
return self;}
|
1105
|
+
}),
|
1106
|
+
smalltalk.WhatIsJtalkSlide);
|
1107
|
+
|
1108
|
+
|
1109
|
+
|
1110
|
+
smalltalk.addClass('JtalkFeaturesSlide', smalltalk.Slide, [], 'Presentation');
|
1111
|
+
smalltalk.addMethod(
|
1112
|
+
unescape('_id'),
|
1113
|
+
smalltalk.method({
|
1114
|
+
selector: unescape('id'),
|
1115
|
+
fn: function (){
|
1116
|
+
var self=this;
|
1117
|
+
return "features";
|
1118
|
+
return self;}
|
1119
|
+
}),
|
1120
|
+
smalltalk.JtalkFeaturesSlide);
|
1121
|
+
|
1122
|
+
smalltalk.addMethod(
|
1123
|
+
unescape('_renderSlideOn_'),
|
1124
|
+
smalltalk.method({
|
1125
|
+
selector: unescape('renderSlideOn%3A'),
|
1126
|
+
fn: function (html){
|
1127
|
+
var self=this;
|
1128
|
+
smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["Jtalk features"]);
|
1129
|
+
smalltalk.send(smalltalk.send(html, "_ul", []), "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Jtalk%20is%20%28mostly%29%20written%20in%20itself%2C%20including%20the%20parser%20%26%20compiler")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Full%20Smalltalk%20object%20system%2C%20including%20classes%20%26%20metaclasses%2C%20etc")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Core%20libraries%20%28streams%2C%20collections%2C%20RegExp%2C%20etc%29")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Web%20related%20libraries%3A%20HTML%20Canvas%2C%20DOM%20manipulation")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Full featured IDE"]);return smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [(function(){smalltalk.send(html, "_with_", [unescape("Advanced%20Smalltalk%20features%2C%20including%20")]);smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("%23doesNotUnderstand%3A")]);smalltalk.send(html, "_with_", [" support and "]);return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", ["thisContext"]);})]);})]);
|
1130
|
+
return self;}
|
1131
|
+
}),
|
1132
|
+
smalltalk.JtalkFeaturesSlide);
|
1133
|
+
|
1134
|
+
|
1135
|
+
|
1136
|
+
smalltalk.addClass('AboutSlide', smalltalk.Slide, [], 'Presentation');
|
1137
|
+
smalltalk.addMethod(
|
1138
|
+
unescape('_id'),
|
1139
|
+
smalltalk.method({
|
1140
|
+
selector: unescape('id'),
|
1141
|
+
fn: function (){
|
1142
|
+
var self=this;
|
1143
|
+
return "about";
|
1144
|
+
return self;}
|
1145
|
+
}),
|
1146
|
+
smalltalk.AboutSlide);
|
1147
|
+
|
1148
|
+
smalltalk.addMethod(
|
1149
|
+
unescape('_cssClass'),
|
1150
|
+
smalltalk.method({
|
1151
|
+
selector: unescape('cssClass'),
|
1152
|
+
fn: function (){
|
1153
|
+
var self=this;
|
1154
|
+
return "slide transparent white";
|
1155
|
+
return self;}
|
1156
|
+
}),
|
1157
|
+
smalltalk.AboutSlide);
|
1158
|
+
|
1159
|
+
smalltalk.addMethod(
|
1160
|
+
unescape('_backgroundColor'),
|
1161
|
+
smalltalk.method({
|
1162
|
+
selector: unescape('backgroundColor'),
|
1163
|
+
fn: function (){
|
1164
|
+
var self=this;
|
1165
|
+
return "white";
|
1166
|
+
return self;}
|
1167
|
+
}),
|
1168
|
+
smalltalk.AboutSlide);
|
1169
|
+
|
1170
|
+
smalltalk.addMethod(
|
1171
|
+
unescape('_renderSlideOn_'),
|
1172
|
+
smalltalk.method({
|
1173
|
+
selector: unescape('renderSlideOn%3A'),
|
1174
|
+
fn: function (html){
|
1175
|
+
var self=this;
|
1176
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["About this presentation"]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [unescape("This%20presentation%20is%20entirely%20written%20in%20Jtalk%20and%20is%20licensed%20under%20CC%20BY-SA.")]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["Press "]);smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("%u2190")]);smalltalk.send(html, "_with_", [" to move backward and "]);smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("%20%u2192")]);return smalltalk.send(html, "_with_", [" to move forward."]);})]);return smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["Open a "]);(function($rec){smalltalk.send($rec, "_with_", ["browser"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send((smalltalk.Browser || Browser), "_openOn_", [(smalltalk.Presentation || Presentation)]);})]);})(smalltalk.send(html, "_button", []));return smalltalk.send(html, "_with_", [" to edit the source code."]);})]);})]);})(smalltalk.send(html, "_div", []));
|
1177
|
+
return self;}
|
1178
|
+
}),
|
1179
|
+
smalltalk.AboutSlide);
|
1180
|
+
|
1181
|
+
|
1182
|
+
|
1183
|
+
smalltalk.addClass('JtalkAndJavascriptSlide3', smalltalk.Slide, [], 'Presentation');
|
1184
|
+
smalltalk.addMethod(
|
1185
|
+
unescape('_id'),
|
1186
|
+
smalltalk.method({
|
1187
|
+
selector: unescape('id'),
|
1188
|
+
fn: function (){
|
1189
|
+
var self=this;
|
1190
|
+
return "jtalkAndJs3";
|
1191
|
+
return self;}
|
1192
|
+
}),
|
1193
|
+
smalltalk.JtalkAndJavascriptSlide3);
|
1194
|
+
|
1195
|
+
smalltalk.addMethod(
|
1196
|
+
unescape('_backgroundColor'),
|
1197
|
+
smalltalk.method({
|
1198
|
+
selector: unescape('backgroundColor'),
|
1199
|
+
fn: function (){
|
1200
|
+
var self=this;
|
1201
|
+
return unescape("%2308C");
|
1202
|
+
return self;}
|
1203
|
+
}),
|
1204
|
+
smalltalk.JtalkAndJavascriptSlide3);
|
1205
|
+
|
1206
|
+
smalltalk.addMethod(
|
1207
|
+
unescape('_renderSlideOn_'),
|
1208
|
+
smalltalk.method({
|
1209
|
+
selector: unescape('renderSlideOn%3A'),
|
1210
|
+
fn: function (html){
|
1211
|
+
var self=this;
|
1212
|
+
smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["Smalltalk "]);(function($rec){smalltalk.send($rec, "_class_", ["red"]);return smalltalk.send($rec, "_with_", [unescape("%u2665")]);})(smalltalk.send(html, "_span", []));return smalltalk.send(html, "_with_", [" JavaScript"]);})]);
|
1213
|
+
smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("Smalltalk%20%u21D2%20JavaScript")]);
|
1214
|
+
smalltalk.send(smalltalk.send(html, "_ol", []), "_with_", [(function(){(function($rec){smalltalk.send($rec, "_with_", ["Unary messages begin with an underscore: "]);smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", ["yourself"]);})]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("_yourself%28%29")]);})]);})(smalltalk.send(html, "_li", []));(function($rec){smalltalk.send($rec, "_with_", ["Binary messages are prefixed with 2 underscores: "]);smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("3@4")]);})]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("%283%29.__at%284%29")]);})]);})(smalltalk.send(html, "_li", []));return (function($rec){smalltalk.send($rec, "_with_", [unescape("Keyword%20message%20follow%20the%20same%20rules%20as%20unary%20messages%2C%20with%20a%20final%20underscore%3A%20")]);smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", ["aDictionary at: 3 put: 4"]);})]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("aDictionary._at_put_%283%2C%204%29")]);})]);})(smalltalk.send(html, "_li", []));})]);
|
1215
|
+
return self;}
|
1216
|
+
}),
|
1217
|
+
smalltalk.JtalkAndJavascriptSlide3);
|
1218
|
+
|
1219
|
+
|
1220
|
+
|
1221
|
+
smalltalk.addClass('JtalkAndJavascriptSlide2', smalltalk.Slide, [], 'Presentation');
|
1222
|
+
smalltalk.addMethod(
|
1223
|
+
unescape('_id'),
|
1224
|
+
smalltalk.method({
|
1225
|
+
selector: unescape('id'),
|
1226
|
+
fn: function (){
|
1227
|
+
var self=this;
|
1228
|
+
return "jtalkAndJs2";
|
1229
|
+
return self;}
|
1230
|
+
}),
|
1231
|
+
smalltalk.JtalkAndJavascriptSlide2);
|
1232
|
+
|
1233
|
+
smalltalk.addMethod(
|
1234
|
+
unescape('_backgroundColor'),
|
1235
|
+
smalltalk.method({
|
1236
|
+
selector: unescape('backgroundColor'),
|
1237
|
+
fn: function (){
|
1238
|
+
var self=this;
|
1239
|
+
return unescape("%2308C");
|
1240
|
+
return self;}
|
1241
|
+
}),
|
1242
|
+
smalltalk.JtalkAndJavascriptSlide2);
|
1243
|
+
|
1244
|
+
smalltalk.addMethod(
|
1245
|
+
unescape('_renderSlideOn_'),
|
1246
|
+
smalltalk.method({
|
1247
|
+
selector: unescape('renderSlideOn%3A'),
|
1248
|
+
fn: function (html){
|
1249
|
+
var self=this;
|
1250
|
+
smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["Smalltalk "]);(function($rec){smalltalk.send($rec, "_class_", ["red"]);return smalltalk.send($rec, "_with_", [unescape("%u2665")]);})(smalltalk.send(html, "_span", []));return smalltalk.send(html, "_with_", [" JavaScript"]);})]);
|
1251
|
+
smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Jtalk maps one to one with the JavaScript equivalent:"]);
|
1252
|
+
smalltalk.send(smalltalk.send(html, "_ul", []), "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("String%20%u21D4%20String")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Number%20%u21D4%20Number")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("BlockClosure%20%u21D4%20function")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Dictionary%20%u21D4%20Object")]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Error%20%u21D4%20Error")]);return smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["etc."]);})]);
|
1253
|
+
return self;}
|
1254
|
+
}),
|
1255
|
+
smalltalk.JtalkAndJavascriptSlide2);
|
1256
|
+
|
1257
|
+
|
1258
|
+
|
1259
|
+
smalltalk.addClass('JtalkAndJavascriptSlide', smalltalk.Slide, [], 'Presentation');
|
1260
|
+
smalltalk.addMethod(
|
1261
|
+
unescape('_id'),
|
1262
|
+
smalltalk.method({
|
1263
|
+
selector: unescape('id'),
|
1264
|
+
fn: function (){
|
1265
|
+
var self=this;
|
1266
|
+
return "jtalkAndJs";
|
1267
|
+
return self;}
|
1268
|
+
}),
|
1269
|
+
smalltalk.JtalkAndJavascriptSlide);
|
1270
|
+
|
1271
|
+
smalltalk.addMethod(
|
1272
|
+
unescape('_cssClass'),
|
1273
|
+
smalltalk.method({
|
1274
|
+
selector: unescape('cssClass'),
|
1275
|
+
fn: function (){
|
1276
|
+
var self=this;
|
1277
|
+
return "slide transparent";
|
1278
|
+
return self;}
|
1279
|
+
}),
|
1280
|
+
smalltalk.JtalkAndJavascriptSlide);
|
1281
|
+
|
1282
|
+
smalltalk.addMethod(
|
1283
|
+
unescape('_backgroundColor'),
|
1284
|
+
smalltalk.method({
|
1285
|
+
selector: unescape('backgroundColor'),
|
1286
|
+
fn: function (){
|
1287
|
+
var self=this;
|
1288
|
+
return unescape("%2308C");
|
1289
|
+
return self;}
|
1290
|
+
}),
|
1291
|
+
smalltalk.JtalkAndJavascriptSlide);
|
1292
|
+
|
1293
|
+
smalltalk.addMethod(
|
1294
|
+
unescape('_renderSlideOn_'),
|
1295
|
+
smalltalk.method({
|
1296
|
+
selector: unescape('renderSlideOn%3A'),
|
1297
|
+
fn: function (html){
|
1298
|
+
var self=this;
|
1299
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["Smalltalk "]);(function($rec){smalltalk.send($rec, "_class_", ["red"]);return smalltalk.send($rec, "_with_", [unescape("%u2665")]);})(smalltalk.send(html, "_span", []));return smalltalk.send(html, "_with_", [" JavaScript"]);})]);})]);})(smalltalk.send(html, "_div", []));
|
1300
|
+
return self;}
|
1301
|
+
}),
|
1302
|
+
smalltalk.JtalkAndJavascriptSlide);
|
1303
|
+
|
1304
|
+
|
1305
|
+
|
1306
|
+
smalltalk.addClass('WorkspaceSlide', smalltalk.Slide, [], 'Presentation');
|
1307
|
+
smalltalk.addMethod(
|
1308
|
+
unescape('_id'),
|
1309
|
+
smalltalk.method({
|
1310
|
+
selector: unescape('id'),
|
1311
|
+
fn: function (){
|
1312
|
+
var self=this;
|
1313
|
+
return "workspace";
|
1314
|
+
return self;}
|
1315
|
+
}),
|
1316
|
+
smalltalk.WorkspaceSlide);
|
1317
|
+
|
1318
|
+
smalltalk.addMethod(
|
1319
|
+
unescape('_backgroundColor'),
|
1320
|
+
smalltalk.method({
|
1321
|
+
selector: unescape('backgroundColor'),
|
1322
|
+
fn: function (){
|
1323
|
+
var self=this;
|
1324
|
+
return unescape("%2318bd7d");
|
1325
|
+
return self;}
|
1326
|
+
}),
|
1327
|
+
smalltalk.WorkspaceSlide);
|
1328
|
+
|
1329
|
+
smalltalk.addMethod(
|
1330
|
+
unescape('_renderSlideOn_'),
|
1331
|
+
smalltalk.method({
|
1332
|
+
selector: unescape('renderSlideOn%3A'),
|
1333
|
+
fn: function (html){
|
1334
|
+
var self=this;
|
1335
|
+
var workspace=nil;
|
1336
|
+
(workspace=smalltalk.send((smalltalk.SourceArea || SourceArea), "_new", []));
|
1337
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [unescape("Give%20Jtalk%20a%20try%21")]);smalltalk.send(workspace, "_renderOn_", [html]);return smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [(function(){(function($rec){smalltalk.send($rec, "_with_", ["DoIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(workspace, "_doIt", []);})]);})(smalltalk.send(html, "_button", []));(function($rec){smalltalk.send($rec, "_with_", ["PrintIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(workspace, "_printIt", []);})]);})(smalltalk.send(html, "_button", []));return (function($rec){smalltalk.send($rec, "_with_", ["InspectIt"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(workspace, "_inspectIt", []);})]);})(smalltalk.send(html, "_button", []));})]);})]);})(smalltalk.send(html, "_div", []));
|
1338
|
+
return self;}
|
1339
|
+
}),
|
1340
|
+
smalltalk.WorkspaceSlide);
|
1341
|
+
|
1342
|
+
|
1343
|
+
|
1344
|
+
smalltalk.addClass('CountersSlide', smalltalk.Slide, [], 'Presentation');
|
1345
|
+
smalltalk.addMethod(
|
1346
|
+
unescape('_id'),
|
1347
|
+
smalltalk.method({
|
1348
|
+
selector: unescape('id'),
|
1349
|
+
fn: function (){
|
1350
|
+
var self=this;
|
1351
|
+
return "counters";
|
1352
|
+
return self;}
|
1353
|
+
}),
|
1354
|
+
smalltalk.CountersSlide);
|
1355
|
+
|
1356
|
+
smalltalk.addMethod(
|
1357
|
+
unescape('_backgroundColor'),
|
1358
|
+
smalltalk.method({
|
1359
|
+
selector: unescape('backgroundColor'),
|
1360
|
+
fn: function (){
|
1361
|
+
var self=this;
|
1362
|
+
return unescape("%2318bd7d");
|
1363
|
+
return self;}
|
1364
|
+
}),
|
1365
|
+
smalltalk.CountersSlide);
|
1366
|
+
|
1367
|
+
smalltalk.addMethod(
|
1368
|
+
unescape('_renderSlideOn_'),
|
1369
|
+
smalltalk.method({
|
1370
|
+
selector: unescape('renderSlideOn%3A'),
|
1371
|
+
fn: function (html){
|
1372
|
+
var self=this;
|
1373
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", ["The counter example"]);return smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [(function(){return smalltalk.send((2), "_timesRepeat_", [(function(){return smalltalk.send(smalltalk.send((smalltalk.Counter || Counter), "_new", []), "_renderOn_", [html]);})]);})]);})]);})(smalltalk.send(html, "_div", []));
|
1374
|
+
return self;}
|
1375
|
+
}),
|
1376
|
+
smalltalk.CountersSlide);
|
1377
|
+
|
1378
|
+
|
1379
|
+
|
1380
|
+
smalltalk.addClass('JtalkAndJavascriptSlide4', smalltalk.Slide, [], 'Presentation');
|
1381
|
+
smalltalk.addMethod(
|
1382
|
+
unescape('_id'),
|
1383
|
+
smalltalk.method({
|
1384
|
+
selector: unescape('id'),
|
1385
|
+
fn: function (){
|
1386
|
+
var self=this;
|
1387
|
+
return "jtalkAndJs4";
|
1388
|
+
return self;}
|
1389
|
+
}),
|
1390
|
+
smalltalk.JtalkAndJavascriptSlide4);
|
1391
|
+
|
1392
|
+
smalltalk.addMethod(
|
1393
|
+
unescape('_backgroundColor'),
|
1394
|
+
smalltalk.method({
|
1395
|
+
selector: unescape('backgroundColor'),
|
1396
|
+
fn: function (){
|
1397
|
+
var self=this;
|
1398
|
+
return unescape("%2308C");
|
1399
|
+
return self;}
|
1400
|
+
}),
|
1401
|
+
smalltalk.JtalkAndJavascriptSlide4);
|
1402
|
+
|
1403
|
+
smalltalk.addMethod(
|
1404
|
+
unescape('_renderSlideOn_'),
|
1405
|
+
smalltalk.method({
|
1406
|
+
selector: unescape('renderSlideOn%3A'),
|
1407
|
+
fn: function (html){
|
1408
|
+
var self=this;
|
1409
|
+
smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["JavaScript "]);(function($rec){smalltalk.send($rec, "_class_", ["red"]);return smalltalk.send($rec, "_with_", [unescape("%u2665")]);})(smalltalk.send(html, "_span", []));return (function($rec){smalltalk.send($rec, "_with_", [unescape("%20Smalltalk%20too%21%20")]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", ["comment"]);return smalltalk.send($rec, "_with_", [unescape("%28how%20cute%29")]);})(smalltalk.send(html, "_span", []));})]);})(html);})]);
|
1410
|
+
smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("JavaScript%20%u21D2%20Smalltalk")]);
|
1411
|
+
smalltalk.send(smalltalk.send(html, "_ol", []), "_with_", [(function(){(function($rec){smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", ["someUser.name"]);})]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", ["someUser name"]);})]);})(smalltalk.send(html, "_li", []));(function($rec){smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("someUser%20name%20%3D%20%22John%22")]);})]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("someUser%20name%3A%20%27John%27")]);})]);})(smalltalk.send(html, "_li", []));(function($rec){smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("console.log%28%27hello%20world%27%29")]);})]);smalltalk.send($rec, "_with_", [" becomes "]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("console%20log%3A%20%27hello%20world%27")]);})]);})(smalltalk.send(html, "_li", []));return (function($rec){smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("window.jQuery%28%27foo%27%29.css%28%27background%27%2C%20%27red%27%29")]);})]);smalltalk.send($rec, "_with_", [" becomes "]);smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(html, "_br", []);})]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_code", []), "_with_", [unescape("%28window%20jQuery%3A%20%27foo%27%29%20css%3A%20%27background%27%20color%3A%20%27red%27")]);})]);})(smalltalk.send(html, "_li", []));})]);
|
1412
|
+
return self;}
|
1413
|
+
}),
|
1414
|
+
smalltalk.JtalkAndJavascriptSlide4);
|
1415
|
+
|
1416
|
+
|
1417
|
+
|
1418
|
+
smalltalk.addClass('IDESlide', smalltalk.Slide, [], 'Presentation');
|
1419
|
+
smalltalk.addMethod(
|
1420
|
+
unescape('_id'),
|
1421
|
+
smalltalk.method({
|
1422
|
+
selector: unescape('id'),
|
1423
|
+
fn: function (){
|
1424
|
+
var self=this;
|
1425
|
+
return "ide";
|
1426
|
+
return self;}
|
1427
|
+
}),
|
1428
|
+
smalltalk.IDESlide);
|
1429
|
+
|
1430
|
+
smalltalk.addMethod(
|
1431
|
+
unescape('_backgroundColor'),
|
1432
|
+
smalltalk.method({
|
1433
|
+
selector: unescape('backgroundColor'),
|
1434
|
+
fn: function (){
|
1435
|
+
var self=this;
|
1436
|
+
return "black";
|
1437
|
+
return self;}
|
1438
|
+
}),
|
1439
|
+
smalltalk.IDESlide);
|
1440
|
+
|
1441
|
+
smalltalk.addMethod(
|
1442
|
+
unescape('_cssClass'),
|
1443
|
+
smalltalk.method({
|
1444
|
+
selector: unescape('cssClass'),
|
1445
|
+
fn: function (){
|
1446
|
+
var self=this;
|
1447
|
+
return "slide transparent";
|
1448
|
+
return self;}
|
1449
|
+
}),
|
1450
|
+
smalltalk.IDESlide);
|
1451
|
+
|
1452
|
+
smalltalk.addMethod(
|
1453
|
+
unescape('_renderSlideOn_'),
|
1454
|
+
smalltalk.method({
|
1455
|
+
selector: unescape('renderSlideOn%3A'),
|
1456
|
+
fn: function (html){
|
1457
|
+
var self=this;
|
1458
|
+
|
1459
|
+
return self;}
|
1460
|
+
}),
|
1461
|
+
smalltalk.IDESlide);
|
1462
|
+
|
1463
|
+
|
1464
|
+
|
1465
|
+
smalltalk.addClass('ContributionsSlide', smalltalk.Slide, [], 'Presentation');
|
1466
|
+
smalltalk.addMethod(
|
1467
|
+
unescape('_id'),
|
1468
|
+
smalltalk.method({
|
1469
|
+
selector: unescape('id'),
|
1470
|
+
fn: function (){
|
1471
|
+
var self=this;
|
1472
|
+
return "links";
|
1473
|
+
return self;}
|
1474
|
+
}),
|
1475
|
+
smalltalk.ContributionsSlide);
|
1476
|
+
|
1477
|
+
smalltalk.addMethod(
|
1478
|
+
unescape('_renderSlideOn_'),
|
1479
|
+
smalltalk.method({
|
1480
|
+
selector: unescape('renderSlideOn%3A'),
|
1481
|
+
fn: function (html){
|
1482
|
+
var self=this;
|
1483
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("http%3A//jtalk-project.org")]);return smalltalk.send($rec, "_with_", [unescape("jtalk-project.org")]);})(smalltalk.send(html, "_a", []));})]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("https%3A//github.com/NicolasPetton/jtalk")]);return smalltalk.send($rec, "_with_", [unescape("github.com/NicolasPetton/jtalk")]);})(smalltalk.send(html, "_a", []));})]);return smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("http%3A//http%3A//groups.google.com/group/jtalk-project")]);return smalltalk.send($rec, "_with_", [unescape("groups.google.com/group/jtalk-project")]);})(smalltalk.send(html, "_a", []));})]);})]);})(smalltalk.send(html, "_div", []));
|
1484
|
+
return self;}
|
1485
|
+
}),
|
1486
|
+
smalltalk.ContributionsSlide);
|
1487
|
+
|
1488
|
+
|
1489
|
+
|
1490
|
+
smalltalk.addClass('JtalkAndCLI', smalltalk.Slide, [], 'Presentation');
|
1491
|
+
smalltalk.addMethod(
|
1492
|
+
unescape('_backgroundColor'),
|
1493
|
+
smalltalk.method({
|
1494
|
+
selector: unescape('backgroundColor'),
|
1495
|
+
fn: function (){
|
1496
|
+
var self=this;
|
1497
|
+
return unescape("%230A1");
|
1498
|
+
return self;}
|
1499
|
+
}),
|
1500
|
+
smalltalk.JtalkAndCLI);
|
1501
|
+
|
1502
|
+
smalltalk.addMethod(
|
1503
|
+
unescape('_id'),
|
1504
|
+
smalltalk.method({
|
1505
|
+
selector: unescape('id'),
|
1506
|
+
fn: function (){
|
1507
|
+
var self=this;
|
1508
|
+
return "JtalkAndCLI";
|
1509
|
+
return self;}
|
1510
|
+
}),
|
1511
|
+
smalltalk.JtalkAndCLI);
|
1512
|
+
|
1513
|
+
smalltalk.addMethod(
|
1514
|
+
unescape('_renderSlideOn_'),
|
1515
|
+
smalltalk.method({
|
1516
|
+
selector: unescape('renderSlideOn%3A'),
|
1517
|
+
fn: function (html){
|
1518
|
+
var self=this;
|
1519
|
+
smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["Jtalk and "]);return (function($rec){smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["the command line"]);})(smalltalk.send(html, "_span", []));})]);
|
1520
|
+
smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("jtalkc%20-%20a%20fairly%20elaborate%20bash%20script%20that%3A")]);
|
1521
|
+
smalltalk.send(smalltalk.send(html, "_ul", []), "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Uses Node.js to run the Jtalk Compiler"]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Compiles .st files to .js"]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Links .js files into a single one"]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Adds%20class%20initilization%20and/or%20call%20to%20main")]);return smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Optionally runs Google Closure compiler"]);})]);
|
1522
|
+
return self;}
|
1523
|
+
}),
|
1524
|
+
smalltalk.JtalkAndCLI);
|
1525
|
+
|
1526
|
+
|
1527
|
+
|
1528
|
+
smalltalk.addClass('JtalkAndNode', smalltalk.Slide, [], 'Presentation');
|
1529
|
+
smalltalk.addMethod(
|
1530
|
+
unescape('_backgroundColor'),
|
1531
|
+
smalltalk.method({
|
1532
|
+
selector: unescape('backgroundColor'),
|
1533
|
+
fn: function (){
|
1534
|
+
var self=this;
|
1535
|
+
return unescape("%230A1");
|
1536
|
+
return self;}
|
1537
|
+
}),
|
1538
|
+
smalltalk.JtalkAndNode);
|
1539
|
+
|
1540
|
+
smalltalk.addMethod(
|
1541
|
+
unescape('_id'),
|
1542
|
+
smalltalk.method({
|
1543
|
+
selector: unescape('id'),
|
1544
|
+
fn: function (){
|
1545
|
+
var self=this;
|
1546
|
+
return "JtalkAndNode";
|
1547
|
+
return self;}
|
1548
|
+
}),
|
1549
|
+
smalltalk.JtalkAndNode);
|
1550
|
+
|
1551
|
+
smalltalk.addMethod(
|
1552
|
+
unescape('_renderSlideOn_'),
|
1553
|
+
smalltalk.method({
|
1554
|
+
selector: unescape('renderSlideOn%3A'),
|
1555
|
+
fn: function (html){
|
1556
|
+
var self=this;
|
1557
|
+
smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["Jtalk and "]);return (function($rec){smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["Node.js"]);})(smalltalk.send(html, "_span", []));})]);
|
1558
|
+
smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Hello.st:"]);
|
1559
|
+
smalltalk.send(smalltalk.send(html, "_pre", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", ["code2"]);return smalltalk.send($rec, "_with_", [unescape("Object%20subclass%3A%20%23Hello%0A%20%20%20%20%20%20%20%20instanceVariableNames%3A%20%27%27%0A%20%20%20%20%20%20%20%20category%3A%20%27Hello%27%21%0A%0A%21Hello%20class%20methodsFor%3A%20%27main%27%21%0Amain%0A%09console%20log%3A%20%27Hello%20world%20from%20JTalk%20in%20Node.js%27%0A%21%20%21")]);})(smalltalk.send(html, "_div", []));})]);
|
1560
|
+
return self;}
|
1561
|
+
}),
|
1562
|
+
smalltalk.JtalkAndNode);
|
1563
|
+
|
1564
|
+
|
1565
|
+
|
1566
|
+
smalltalk.addClass('JtalkAndNode2', smalltalk.Slide, [], 'Presentation');
|
1567
|
+
smalltalk.addMethod(
|
1568
|
+
unescape('_backgroundColor'),
|
1569
|
+
smalltalk.method({
|
1570
|
+
selector: unescape('backgroundColor'),
|
1571
|
+
fn: function (){
|
1572
|
+
var self=this;
|
1573
|
+
return unescape("%230A1");
|
1574
|
+
return self;}
|
1575
|
+
}),
|
1576
|
+
smalltalk.JtalkAndNode2);
|
1577
|
+
|
1578
|
+
smalltalk.addMethod(
|
1579
|
+
unescape('_id'),
|
1580
|
+
smalltalk.method({
|
1581
|
+
selector: unescape('id'),
|
1582
|
+
fn: function (){
|
1583
|
+
var self=this;
|
1584
|
+
return "JtalkAndNode2";
|
1585
|
+
return self;}
|
1586
|
+
}),
|
1587
|
+
smalltalk.JtalkAndNode2);
|
1588
|
+
|
1589
|
+
smalltalk.addMethod(
|
1590
|
+
unescape('_renderSlideOn_'),
|
1591
|
+
smalltalk.method({
|
1592
|
+
selector: unescape('renderSlideOn%3A'),
|
1593
|
+
fn: function (html){
|
1594
|
+
var self=this;
|
1595
|
+
smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["Jtalk and "]);return (function($rec){smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["Node.js"]);})(smalltalk.send(html, "_span", []));})]);
|
1596
|
+
smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["Makefile:"]);
|
1597
|
+
smalltalk.send(smalltalk.send(html, "_pre", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", ["code2"]);return smalltalk.send($rec, "_with_", [unescape("Program.js%3A%20Hello.st%0A%09../../bin/jtalkc%20-N%20-m%20Hello%20Hello.st%20Program%0A%0Arun%3A%20Program.js%0A%09./hello%0A%0Aclean%3A%0A%09rm%20-f%20Program.js%20Hello.js%0A")]);})(smalltalk.send(html, "_div", []));})]);
|
1598
|
+
smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["hello:"]);
|
1599
|
+
smalltalk.send(smalltalk.send(html, "_pre", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", ["code2"]);return smalltalk.send($rec, "_with_", [unescape("node%20Program.js%20%24@")]);})(smalltalk.send(html, "_div", []));})]);
|
1600
|
+
return self;}
|
1601
|
+
}),
|
1602
|
+
smalltalk.JtalkAndNode2);
|
1603
|
+
|
1604
|
+
|
1605
|
+
|
1606
|
+
smalltalk.addClass('JtalkAndNode3', smalltalk.Slide, [], 'Presentation');
|
1607
|
+
smalltalk.addMethod(
|
1608
|
+
unescape('_backgroundColor'),
|
1609
|
+
smalltalk.method({
|
1610
|
+
selector: unescape('backgroundColor'),
|
1611
|
+
fn: function (){
|
1612
|
+
var self=this;
|
1613
|
+
return unescape("%230A1");
|
1614
|
+
return self;}
|
1615
|
+
}),
|
1616
|
+
smalltalk.JtalkAndNode3);
|
1617
|
+
|
1618
|
+
smalltalk.addMethod(
|
1619
|
+
unescape('_id'),
|
1620
|
+
smalltalk.method({
|
1621
|
+
selector: unescape('id'),
|
1622
|
+
fn: function (){
|
1623
|
+
var self=this;
|
1624
|
+
return "JtalkAndNode3";
|
1625
|
+
return self;}
|
1626
|
+
}),
|
1627
|
+
smalltalk.JtalkAndNode3);
|
1628
|
+
|
1629
|
+
smalltalk.addMethod(
|
1630
|
+
unescape('_renderSlideOn_'),
|
1631
|
+
smalltalk.method({
|
1632
|
+
selector: unescape('renderSlideOn%3A'),
|
1633
|
+
fn: function (html){
|
1634
|
+
var self=this;
|
1635
|
+
smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["Jtalk and "]);return (function($rec){smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["Node.js"]);})(smalltalk.send(html, "_span", []));})]);
|
1636
|
+
smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", [unescape("make%20clean%20%26%26%20make%20run%3A")]);
|
1637
|
+
smalltalk.send(smalltalk.send(html, "_pre", []), "_with_", [(function(){(function($rec){smalltalk.send($rec, "_class_", ["code2"]);return smalltalk.send($rec, "_with_", [unescape("rm%20-f%20Program.js%20Hello.js%0A../../bin/jtalkc%20-N%20-m%20Hello%20Hello.st%20Program%0ALoading%20libraries%20%20/home/gokr/jtalk/js/boot.js%20/home/gokr/jtalk/js/Kernel.js%0A/home/gokr/jtalk/js/Parser.js%20/home/gokr/jtalk/js/Compiler.js%0A/home/gokr/jtalk/js/init.js%20/home/gokr/jtalk/nodejs/nodecompile.js%0Aand%20compiling%20...%0ACompiling%20in%20debugMode%3A%20false%0AReading%20file%20Hello.st%0AExporting%20category%20Hello%20as%20Hello.js%0AAdding%20libraries%20%20/home/gokr/jtalk/js/boot.js%20/home/gokr/jtalk/js/Kernel.js%20%20...%0AAdding%20Jtalk%20code%20Hello.js%20...%0AAdding%20initializer%20/home/gokr/jtalk/js/init.js%20...%0AAdding%20call%20to%20Hello%20class%20%3E%3E%20main%20...%0AWriting%20Program.js%20...%0ADone.%0A./hello")]);})(smalltalk.send(html, "_div", []));return (function($rec){smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["Hello world from JTalk in Node.js"]);})(smalltalk.send(html, "_span", []));})]);
|
1638
|
+
return self;}
|
1639
|
+
}),
|
1640
|
+
smalltalk.JtalkAndNode3);
|
1641
|
+
|
1642
|
+
|
1643
|
+
|
1644
|
+
smalltalk.addClass('JtalkAndWebOS', smalltalk.Slide, [], 'Presentation');
|
1645
|
+
smalltalk.addMethod(
|
1646
|
+
unescape('_backgroundColor'),
|
1647
|
+
smalltalk.method({
|
1648
|
+
selector: unescape('backgroundColor'),
|
1649
|
+
fn: function (){
|
1650
|
+
var self=this;
|
1651
|
+
return unescape("%230A1");
|
1652
|
+
return self;}
|
1653
|
+
}),
|
1654
|
+
smalltalk.JtalkAndWebOS);
|
1655
|
+
|
1656
|
+
smalltalk.addMethod(
|
1657
|
+
unescape('_id'),
|
1658
|
+
smalltalk.method({
|
1659
|
+
selector: unescape('id'),
|
1660
|
+
fn: function (){
|
1661
|
+
var self=this;
|
1662
|
+
return "JtalkAndWebOS";
|
1663
|
+
return self;}
|
1664
|
+
}),
|
1665
|
+
smalltalk.JtalkAndWebOS);
|
1666
|
+
|
1667
|
+
smalltalk.addMethod(
|
1668
|
+
unescape('_renderSlideOn_'),
|
1669
|
+
smalltalk.method({
|
1670
|
+
selector: unescape('renderSlideOn%3A'),
|
1671
|
+
fn: function (html){
|
1672
|
+
var self=this;
|
1673
|
+
smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["Jtalk and "]);return (function($rec){smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["webOS"]);})(smalltalk.send(html, "_span", []));})]);
|
1674
|
+
smalltalk.send(smalltalk.send(html, "_h2", []), "_with_", ["A really cool mobile OS based on Linux:"]);
|
1675
|
+
smalltalk.send(smalltalk.send(html, "_ul", []), "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["The primary language in webOS is Javascript"]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["The new UI framework for webOS 3.0 is called Enyo"]);smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [unescape("Regular%20apps%20run%20in%20V8%20+%20Webkit")]);return smalltalk.send(smalltalk.send(html, "_li", []), "_with_", ["Background services run in Node.js"]);})]);
|
1676
|
+
return self;}
|
1677
|
+
}),
|
1678
|
+
smalltalk.JtalkAndWebOS);
|
1679
|
+
|
1680
|
+
|
1681
|
+
|
1682
|
+
smalltalk.addClass('JtalkAndEnyo', smalltalk.Slide, [], 'Presentation');
|
1683
|
+
smalltalk.addMethod(
|
1684
|
+
unescape('_id'),
|
1685
|
+
smalltalk.method({
|
1686
|
+
selector: unescape('id'),
|
1687
|
+
fn: function (){
|
1688
|
+
var self=this;
|
1689
|
+
return "JtalkAndEnyo";
|
1690
|
+
return self;}
|
1691
|
+
}),
|
1692
|
+
smalltalk.JtalkAndEnyo);
|
1693
|
+
|
1694
|
+
smalltalk.addMethod(
|
1695
|
+
unescape('_backgroundColor'),
|
1696
|
+
smalltalk.method({
|
1697
|
+
selector: unescape('backgroundColor'),
|
1698
|
+
fn: function (){
|
1699
|
+
var self=this;
|
1700
|
+
return unescape("%230A1");
|
1701
|
+
return self;}
|
1702
|
+
}),
|
1703
|
+
smalltalk.JtalkAndEnyo);
|
1704
|
+
|
1705
|
+
smalltalk.addMethod(
|
1706
|
+
unescape('_renderSlideOn_'),
|
1707
|
+
smalltalk.method({
|
1708
|
+
selector: unescape('renderSlideOn%3A'),
|
1709
|
+
fn: function (html){
|
1710
|
+
var self=this;
|
1711
|
+
smalltalk.send(smalltalk.send(html, "_h1", []), "_with_", [(function(){smalltalk.send(html, "_with_", ["Jtalk and "]);return (function($rec){smalltalk.send($rec, "_class_", ["blue"]);return smalltalk.send($rec, "_with_", ["Enyo"]);})(smalltalk.send(html, "_span", []));})]);
|
1712
|
+
return self;}
|
1713
|
+
}),
|
1714
|
+
smalltalk.JtalkAndEnyo);
|
1715
|
+
|
1716
|
+
|
1717
|
+
|
1718
|
+
smalltalk.addClass('FOSDEM2012Presentation', smalltalk.Presentation, [], 'Presentation');
|
1719
|
+
smalltalk.addMethod(
|
1720
|
+
unescape('_description'),
|
1721
|
+
smalltalk.method({
|
1722
|
+
selector: unescape('description'),
|
1723
|
+
fn: function (){
|
1724
|
+
var self=this;
|
1725
|
+
return unescape("FOSDEM%202012%2C%20Brussels");
|
1726
|
+
return self;}
|
1727
|
+
}),
|
1728
|
+
smalltalk.FOSDEM2012Presentation);
|
1729
|
+
|
1730
|
+
smalltalk.addMethod(
|
1731
|
+
unescape('_author'),
|
1732
|
+
smalltalk.method({
|
1733
|
+
selector: unescape('author'),
|
1734
|
+
fn: function (){
|
1735
|
+
var self=this;
|
1736
|
+
return unescape("Laurent%20Laffont%2C%20Johnny%20Thornton");
|
1737
|
+
return self;}
|
1738
|
+
}),
|
1739
|
+
smalltalk.FOSDEM2012Presentation);
|
1740
|
+
|
1741
|
+
smalltalk.addMethod(
|
1742
|
+
unescape('_email'),
|
1743
|
+
smalltalk.method({
|
1744
|
+
selector: unescape('email'),
|
1745
|
+
fn: function (){
|
1746
|
+
var self=this;
|
1747
|
+
return unescape("laurent.laffont@gmail.com%2C%20%20johnnyt@xan.do");
|
1748
|
+
return self;}
|
1749
|
+
}),
|
1750
|
+
smalltalk.FOSDEM2012Presentation);
|
1751
|
+
|
1752
|
+
smalltalk.addMethod(
|
1753
|
+
unescape('_url'),
|
1754
|
+
smalltalk.method({
|
1755
|
+
selector: unescape('url'),
|
1756
|
+
fn: function (){
|
1757
|
+
var self=this;
|
1758
|
+
return unescape("http%3A//amber-lang.net");
|
1759
|
+
return self;}
|
1760
|
+
}),
|
1761
|
+
smalltalk.FOSDEM2012Presentation);
|
1762
|
+
|
1763
|
+
smalltalk.addMethod(
|
1764
|
+
unescape('_style'),
|
1765
|
+
smalltalk.method({
|
1766
|
+
selector: unescape('style'),
|
1767
|
+
fn: function (){
|
1768
|
+
var self=this;
|
1769
|
+
return unescape("%0Abody%20%7B%0A%20%20%20%20font-family%3A%20Helvetica%2CArial%2Csans%3B%0A%7D%0A%0A%23slides%20%7B%0A%20%20%20%20width%3A%20100%25%3B%0A%20%20%20%20height%3A%20100%25%3B%0A%20%20%20%20overflow%3A%20hidden%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20top%3A%200%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20left%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20background%3A%20%23fff%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%20%20%20%20font-size%3A%2020px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20height%3A%20500px%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20padding%3A%2060px%3B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20left%3A%2050%25%3B%0A%20%20%20%20top%3A%2050%25%3B%0A%20%20%20%20margin-left%3A%20-420px%3B%0A%20%20%20%20margin-top%3A%20-320px%3B%0A%20%20%20%20box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%2020px%20%23111%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%2020px%20%23111%3B%0A%7D%0A%0A.slide.transparent%20%7B%0A%20%20%20%20background%3A%20transparent%3B%0A%20%20%20%20box-shadow%3A%200%200%200%20none%3B%0A%20%20%20%20-moz-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20-webkit-box-shadow%3A%200%200%200%20transparent%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20%7B%0A%20%20%20%20background%3A%20black%3B%0A%20%20%20%20background-image%3A%20-webkit-gradient%28%0A%09linear%2C%0A%09left%20bottom%2C%0A%09left%20top%2C%0A%09color-stop%280.38%2C%20rgb%2879%2C79%2C79%29%29%2C%0A%09color-stop%280.69%2C%20rgb%2833%2C33%2C33%29%29%2C%0A%09color-stop%280.86%2C%20rgb%284%2C4%2C4%29%29%0A%20%20%20%20%29%3B%0A%20%20%20%20background-image%3A%20-moz-linear-gradient%28%0A%09center%20bottom%2C%0A%09rgb%2879%2C79%2C79%29%2038%25%2C%0A%09rgb%2833%2C33%2C33%29%2069%25%2C%0A%09rgb%284%2C4%2C4%29%2086%25%0A%20%20%20%20%29%3B%0A%20%20%20%20color%3A%20%23fff%20%21important%3B%0A%7D%0A%0A.slide.black%20h1%2C%20.slide.black%20h2%2C%20.slide.black%20h3%2C%0A.slide.transparent%20h1%2C%20.slide.transparent%20h2%2C%20.slide.transparent%20h3%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%7D%0A%0A.slide.black%20a%2C%20.slide.transparent%20a%20%7B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%7D%0A%0A.slide.white%20%7B%0A%20%20%20%20color%3A%20%23333%20%21important%3B%0A%7D%0A%0A.slide.white%20h1%2C%20.slide.white%20h2%2C%20.slide.white%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A.slide.white%20a%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%7D%0A%0A%0A.slide%20h1%2C%20.slide%20h2%2C%20.slide%20h3%20%7B%0A%20%20%20%20color%3A%20%23333%3B%0A%20%20%20%20/*%20text-align%3A%20center%3B%20*/%0A%7D%0A%0A.slide%20h1%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2036px%3B%0A%20%20%20%20text-shadow%3A%200%201px%204px%20%23aaa%3B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20margin-bottom%3A%2050px%3B%0A%7D%0A%0A.slide%20button%20%7B%0A%20%20%20%20font-size%3A%2018px%3B%0A%7D%0A%0A.slide%20a%20%7B%0A%20%20%20%20color%3A%20%23555%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20cursor%3A%20pointer%3B%0A%7D%0A%0A.slide%20a%3Ahover%20%7B%0A%20%20%20%20color%3A%20%23fff%3B%0A%20%20%20%20background%3A%20%23555%3B%0A%7D%0A%0A.slide%20.right%20%7B%0A%20%20%20%20text-align%3A%20right%3B%0A%7D%0A%0A.slide%20.section.center%20%7B%0A%20%20%20%20text-align%3A%20center%3B%0A%20%20%20%20display%3A%20table-cell%3B%0A%20%20%20%20vertical-align%3A%20middle%3B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20height%3A%20500px%3B%0A%7D%0A%0A.slide%20code%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20border%3A%201px%20solid%20%23ddd%3B%0A%20%20%20%20background%3A%20%23eee%3B%0A%20%20%20%20border-radius%3A%204px%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A.slide%20.code2%20%7B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%20Mono%22%3B%0A%20%20%20%20line-height%3A%201.2em%3B%0A%20%20%20%20color%3A%20%23444%3B%0A%20%20%20%20padding%3A%202px%3B%0A%20%20%20%20font-size%3A%2016px%3B%0A%7D%0A%0A%0A.slide%20.CodeMirror%20%7B%0A%20%20%20%20width%3A%20700px%3B%0A%20%20%20%20height%3A%20300px%3B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.CodeMirror-scroll%20%7B%0A%20%20%20%20text-align%3A%20left%3B%0A%7D%0A%0A.slide%20.fancy%20%7B%0A%20%20%20%20margin-top%3A%2030px%3B%0A%20%20%20%20-webkit-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20-moz-transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20transform%3A%20rotate%28-10deg%29%3B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.comment%20%7B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20font-weight%3A%20normal%3B%0A%7D%0A%0A.slide%20.red%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%7D%0A%0A.slide%20.blue%20%7B%0A%20%20%20%20color%3A%20blue%3B%0A%7D%0A%0A%23meta%20%7B%0A%20%20%20%20position%3A%20absolute%3B%0A%20%20%20%20font-size%3A%2012px%3B%0A%20%20%20%20opacity%3A%200.6%3B%0A%20%20%20%20bottom%3A%200%3B%0A%20%20%20%20right%3A%200%3B%0A%20%20%20%20z-index%3A%202%3B%0A%20%20%20%20background%3A%20%23333%3B%0A%20%20%20%20text-align%3A%20right%3B%0A%20%20%20%20padding%3A%200%2010px%3B%0A%20%20%20%20line-height%3A%201.8em%3B%0A%20%20%20%20color%3A%20%23eee%3B%0A%20%20%20%20border-top-left-radius%3A%205px%3B%0A%7D%0A%0A%23meta%3Ahover%20%7B%0A%20%20%20%20opacity%3A%200.8%3B%0A%7D%0A%0A%23meta%20p%20%7B%0A%20%20%20%20display%3A%20inline%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A%23meta%20a%20%7B%0A%20%20%20%20//background%3A%20%23ccc%3B%0A%20%20%20%20color%3A%20%23ccc%3B%0A%20%20%20%20text-decoration%3A%20none%3B%0A%20%20%20%20padding%3A%200%205px%3B%0A%7D%0A%0A.slide%20%7B%0A%20%20%20%20%0A%7D%0A%0A.slide.blue3d%20%7B%0A%20%20background%3A%20%23feffff%3B%0A%20%20background%3A%20-moz-linear-gradient%28top%2C%20%23feffff%200%25%2C%20%23d2ebf9%20100%25%29%3B%0A%20%20background%3A%20-webkit-gradient%28linear%2C%20left%20top%2C%20left%20bottom%2C%20color-stop%280%25%2C%23feffff%29%2C%20color-stop%28100%25%2C%23d2ebf9%29%29%3B%0A%20%20background%3A%20-webkit-linear-gradient%28top%2C%20%23feffff%200%25%2C%23d2ebf9%20100%25%29%3B%0A%20%20background%3A%20-o-linear-gradient%28top%2C%20%23feffff%200%25%2C%23d2ebf9%20100%25%29%3B%0A%20%20background%3A%20-ms-linear-gradient%28top%2C%20%23feffff%200%25%2C%23d2ebf9%20100%25%29%3B%0A%20%20filter%3A%20progid%3ADXImageTransform.Microsoft.gradient%28%20startColorstr%3D%22%23feffff%22%2C%20endColorstr%3D%22%23d2ebf9%22%2CGradientType%3D0%20%29%3B%0A%20%20background%3A%20linear-gradient%28top%2C%20%23feffff%200%25%2C%23d2ebf9%20100%25%29%3B%0A%7D%0A%0A%0A.slide.red3d%20%7B%0A%20%20background%3A%20%23febbbb%3B%0A%20%20background%3A%20-moz-linear-gradient%28top%2C%20%23febbbb%200%25%2C%20%23fe9090%2071%25%2C%20%23ff5c5c%2095%25%29%3B%0A%20%20background%3A%20-webkit-gradient%28linear%2C%20left%20top%2C%20left%20bottom%2C%20color-stop%280%25%2C%23febbbb%29%2C%20color-stop%2871%25%2C%23fe9090%29%2C%20color-stop%2895%25%2C%23ff5c5c%29%29%3B%0A%20%20background%3A%20-webkit-linear-gradient%28top%2C%20%23febbbb%200%25%2C%23fe9090%2071%25%2C%23ff5c5c%2095%25%29%3B%0A%20%20background%3A%20-o-linear-gradient%28top%2C%20%23febbbb%200%25%2C%23fe9090%2071%25%2C%23ff5c5c%2095%25%29%3B%0A%20%20background%3A%20-ms-linear-gradient%28top%2C%20%23febbbb%200%25%2C%23fe9090%2071%25%2C%23ff5c5c%2095%25%29%3B%0A%20%20filter%3A%20progid%3ADXImageTransform.Microsoft.gradient%28%20startColorstr%3D%22%23febbbb%22%2C%20endColorstr%3D%22%23ff5c5c%22%2CGradientType%3D0%20%29%3B%0A%20%20background%3A%20linear-gradient%28top%2C%20%23febbbb%200%25%2C%23fe9090%2071%25%2C%23ff5c5c%2095%25%29%3B%0A%7D%0A%0A%0A.slide.green3d%20%7B%0A%20%20background%3A%20%23cdeb8e%3B%0A%20%20background%3A%20-moz-linear-gradient%28top%2C%20%23cdeb8e%200%25%2C%20%23a5c956%20100%25%29%3B%0A%20%20background%3A%20-webkit-gradient%28linear%2C%20left%20top%2C%20left%20bottom%2C%20color-stop%280%25%2C%23cdeb8e%29%2C%20color-stop%28100%25%2C%23a5c956%29%29%3B%0A%20%20background%3A%20-webkit-linear-gradient%28top%2C%20%23cdeb8e%200%25%2C%23a5c956%20100%25%29%3B%0A%20%20background%3A%20-o-linear-gradient%28top%2C%20%23cdeb8e%200%25%2C%23a5c956%20100%25%29%3B%0A%20%20background%3A%20-ms-linear-gradient%28top%2C%20%23cdeb8e%200%25%2C%23a5c956%20100%25%29%3B%0A%20%20filter%3A%20progid%3ADXImageTransform.Microsoft.gradient%28%20startColorstr%3D%22%23cdeb8e%22%2C%20endColorstr%3D%22%23a5c956%22%2CGradientType%3D0%20%29%3B%0A%20%20background%3A%20linear-gradient%28top%2C%20%23cdeb8e%200%25%2C%23a5c956%20100%25%29%3B%0A%7D%0A%0A@-webkit-keyframes%20rotate-horizontal%20%7B%0A%090%25%20%7B%20-webkit-transform%3A%20perspective%281000px%29%20rotateY%28-10deg%29%3B%7D%0A%09100%25%20%7B%20-webkit-transform%3A%20perspective%281000px%29%20rotateY%2810deg%29%3B%7D%0A%7D%0A%0A.animate%20p%7B%0A-webkit-animation%3A%20rotate-horizontal%202s%20infinite%20alternate%20ease-in-out%3B%0A%7D%0A%0A%23FOSDEMAmberBackend%20img%20%7B%0A%09margin%3A%205px%3B%0A%09-webkit-animation%3A%20rotate-horizontal%202s%20infinite%20alternate%20ease-in-out%3B%0A%7D%0A%0A.slide%23FOSDEMContributionsSlide%20%7B%0A%20%20%20%20background%3A%20white%20url%28%22esug2011/images/asterix.png%22%29%2030px%20130px%20no-repeat%3B%0A%7D%0A%0A.slide%23FOSDEMContributionsSlide%20.section%20%7B%0A%20%20%20%20margin-left%3A%20250px%3B%0A%20%20%20%20margin-top%3A%20200px%3B%0A%20%20%20%20font-family%3A%20%22Droid%20Sans%22%3B%0A%20%20%20%20font-size%3A%2026px%3B%0A%20%20%20%20font-weight%3A%20bold%3B%0A%7D%0A%0A%0A.slide%23ide%20%7B%0A%20%20%20%20background%3A%20black%20url%28%22esug2011/images/ide_star_wars.png%22%29%20center%20center%20no-repeat%3B%0A%7D%0A%0A%0A.tweet%20%7B%0A%09background-color%3A%20%23aaa%3B%0A%09color%3A%20black%3B%0A%09padding%3A%2010px%3B%0A%09border-radius%3A%2010px%3B%0A%09border%3A%205px%20solid%20%23eee%3B%0A%09margin%3A%2010px%3B%0A%7D%0A%0A.tweet%20img%20%7B%0A%09vertical-align%3A%20top%3B%0A%09margin-right%3A%2010px%3B%0A%7D%0A%0A.tweet%20span%3Afirst-child%20%7B%0A%09float%3A%20right%3B%0A%7D%0A");
|
1770
|
+
return self;}
|
1771
|
+
}),
|
1772
|
+
smalltalk.FOSDEM2012Presentation);
|
1773
|
+
|
1774
|
+
smalltalk.addMethod(
|
1775
|
+
unescape('_slideClasses'),
|
1776
|
+
smalltalk.method({
|
1777
|
+
selector: unescape('slideClasses'),
|
1778
|
+
fn: function (){
|
1779
|
+
var self=this;
|
1780
|
+
return [(smalltalk.FOSDEMIntroSlide || FOSDEMIntroSlide),(smalltalk.FOSDEMAmberZeroNine || FOSDEMAmberZeroNine),(smalltalk.CountersSlide || CountersSlide),(smalltalk.IDESlide || IDESlide),(smalltalk.JtalkAndJavascriptSlide || JtalkAndJavascriptSlide),(smalltalk.FOSDEMJSPlayGroundSlide || FOSDEMJSPlayGroundSlide),(smalltalk.FOSDEMJSToSmalltalk || FOSDEMJSToSmalltalk),(smalltalk.FOSDEMBookletSlide || FOSDEMBookletSlide),(smalltalk.FOSDEMTwitter || FOSDEMTwitter),(smalltalk.FOSDEMCanvasSlide || FOSDEMCanvasSlide),(smalltalk.FOSDEMAmberBackend || FOSDEMAmberBackend),(smalltalk.FOSDEMREPLSlide || FOSDEMREPLSlide),(smalltalk.FOSDEMCLISlide || FOSDEMCLISlide),(smalltalk.FOSDEMContributionsSlide || FOSDEMContributionsSlide)];
|
1781
|
+
return self;}
|
1782
|
+
}),
|
1783
|
+
smalltalk.FOSDEM2012Presentation);
|
1784
|
+
|
1785
|
+
|
1786
|
+
smalltalk.addMethod(
|
1787
|
+
unescape('_isConcrete'),
|
1788
|
+
smalltalk.method({
|
1789
|
+
selector: unescape('isConcrete'),
|
1790
|
+
fn: function (){
|
1791
|
+
var self=this;
|
1792
|
+
return true;
|
1793
|
+
return self;}
|
1794
|
+
}),
|
1795
|
+
smalltalk.FOSDEM2012Presentation.klass);
|
1796
|
+
|
1797
|
+
smalltalk.addMethod(
|
1798
|
+
unescape('_title'),
|
1799
|
+
smalltalk.method({
|
1800
|
+
selector: unescape('title'),
|
1801
|
+
fn: function (){
|
1802
|
+
var self=this;
|
1803
|
+
return "Amber";
|
1804
|
+
return self;}
|
1805
|
+
}),
|
1806
|
+
smalltalk.FOSDEM2012Presentation.klass);
|
1807
|
+
|
1808
|
+
|
1809
|
+
smalltalk.addClass('FOSDEMTwitter', smalltalk.FOSDEMSlide, ['twitterDiv'], 'Presentation');
|
1810
|
+
smalltalk.addMethod(
|
1811
|
+
unescape('_renderSlideOn_'),
|
1812
|
+
smalltalk.method({
|
1813
|
+
selector: unescape('renderSlideOn%3A'),
|
1814
|
+
fn: function (html){
|
1815
|
+
var self=this;
|
1816
|
+
(function($rec){smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_loadTweets", []);})]);return smalltalk.send($rec, "_with_", [unescape("What%20about%20@AmberSmalltalk%20on%20Twitter%20%3F")]);})(smalltalk.send(html, "_button", []));
|
1817
|
+
(self['@twitterDiv']=smalltalk.send(html, "_div", []));
|
1818
|
+
return self;}
|
1819
|
+
}),
|
1820
|
+
smalltalk.FOSDEMTwitter);
|
1821
|
+
|
1822
|
+
smalltalk.addMethod(
|
1823
|
+
unescape('_renderTweets_'),
|
1824
|
+
smalltalk.method({
|
1825
|
+
selector: unescape('renderTweets%3A'),
|
1826
|
+
fn: function (tweets){
|
1827
|
+
var self=this;
|
1828
|
+
smalltalk.send(self['@twitterDiv'], "_contents_", [(function(html){return smalltalk.send(tweets, "_do_", [(function(tweet){return smalltalk.send(self, "_renderTweet_on_", [tweet, html]);})]);})]);
|
1829
|
+
return self;}
|
1830
|
+
}),
|
1831
|
+
smalltalk.FOSDEMTwitter);
|
1832
|
+
|
1833
|
+
smalltalk.addMethod(
|
1834
|
+
unescape('_renderTweet_on_'),
|
1835
|
+
smalltalk.method({
|
1836
|
+
selector: unescape('renderTweet%3Aon%3A'),
|
1837
|
+
fn: function (tweet, html){
|
1838
|
+
var self=this;
|
1839
|
+
(function($rec){smalltalk.send($rec, "_class_", ["tweet"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_span_", [smalltalk.send(tweet, "_at_", ["created_at"])]);smalltalk.send($rec, "_img_", [smalltalk.send(tweet, "_at_", ["profile_image_url"])]);smalltalk.send($rec, "_span_", [smalltalk.send(tweet, "_at_", ["from_user"])]);return smalltalk.send($rec, "_div_", [smalltalk.send(tweet, "_at_", ["text"])]);})(html);})]);})(smalltalk.send(html, "_div", []));
|
1840
|
+
return self;}
|
1841
|
+
}),
|
1842
|
+
smalltalk.FOSDEMTwitter);
|
1843
|
+
|
1844
|
+
smalltalk.addMethod(
|
1845
|
+
unescape('_cssClass'),
|
1846
|
+
smalltalk.method({
|
1847
|
+
selector: unescape('cssClass'),
|
1848
|
+
fn: function (){
|
1849
|
+
var self=this;
|
1850
|
+
return "slide black";
|
1851
|
+
return self;}
|
1852
|
+
}),
|
1853
|
+
smalltalk.FOSDEMTwitter);
|
1854
|
+
|
1855
|
+
smalltalk.addMethod(
|
1856
|
+
unescape('_loadTweets'),
|
1857
|
+
smalltalk.method({
|
1858
|
+
selector: unescape('loadTweets'),
|
1859
|
+
fn: function (){
|
1860
|
+
var self=this;
|
1861
|
+
smalltalk.send((typeof jQuery == 'undefined' ? nil : jQuery), "_ajax_options_", [unescape("http%3A//search.twitter.com/search.json%3Frpp%3D3%26q%3D%2540AmberSmalltalk"), smalltalk.HashedCollection._fromPairs_([smalltalk.send("type", "__minus_gt", ["GET"]),smalltalk.send("success", "__minus_gt", [(function(json){return smalltalk.send(self, "_renderTweets_", [smalltalk.send(json, "_results", [])]);})]),smalltalk.send("dataType", "__minus_gt", ["jsonp"])])]);
|
1862
|
+
return self;}
|
1863
|
+
}),
|
1864
|
+
smalltalk.FOSDEMTwitter);
|
1865
|
+
|
1866
|
+
|
1867
|
+
|
1868
|
+
smalltalk.addClass('FOSDEMCLISlide', smalltalk.FOSDEMSlide, [], 'Presentation');
|
1869
|
+
smalltalk.addMethod(
|
1870
|
+
unescape('_renderSlideOn_'),
|
1871
|
+
smalltalk.method({
|
1872
|
+
selector: unescape('renderSlideOn%3A'),
|
1873
|
+
fn: function (html){
|
1874
|
+
var self=this;
|
1875
|
+
smalltalk.send(html, "_h1_", ["CLI"]);
|
1876
|
+
smalltalk.send(html, "_with_", [unescape("amberc%20compiles%20.st%20files%20into%20node%20programs%20%21")]);
|
1877
|
+
smalltalk.send(self, "_renderCodeSnippetOn_", [html]);
|
1878
|
+
return self;}
|
1879
|
+
}),
|
1880
|
+
smalltalk.FOSDEMCLISlide);
|
1881
|
+
|
1882
|
+
smalltalk.addMethod(
|
1883
|
+
unescape('_codeSnippet'),
|
1884
|
+
smalltalk.method({
|
1885
|
+
selector: unescape('codeSnippet'),
|
1886
|
+
fn: function (){
|
1887
|
+
var self=this;
|
1888
|
+
return unescape("cd%20examples/nodejs/hello%0A../../../bin/amberc%20-m%20Hello%20Hello.st%20Program%0Anode%20Program.js%0A%0AHello%20world%20from%20Amber%20in%20Node.js");
|
1889
|
+
return self;}
|
1890
|
+
}),
|
1891
|
+
smalltalk.FOSDEMCLISlide);
|
1892
|
+
|
1893
|
+
|
1894
|
+
|
1895
|
+
smalltalk.addClass('FOSDEMContributionsSlide', smalltalk.FOSDEMSlide, [], 'Presentation');
|
1896
|
+
smalltalk.addMethod(
|
1897
|
+
unescape('_renderSlideOn_'),
|
1898
|
+
smalltalk.method({
|
1899
|
+
selector: unescape('renderSlideOn%3A'),
|
1900
|
+
fn: function (html){
|
1901
|
+
var self=this;
|
1902
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("/documentation.html")]);return smalltalk.send($rec, "_with_", ["Documentation"]);})(smalltalk.send(html, "_a", []));})]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("http%3A//amber-lang.net")]);return smalltalk.send($rec, "_with_", [unescape("amber-lang.net")]);})(smalltalk.send(html, "_a", []));})]);smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("https%3A//github.com/NicolasPetton/amber")]);return smalltalk.send($rec, "_with_", [unescape("github.com/NicolasPetton/amber")]);})(smalltalk.send(html, "_a", []));})]);return smalltalk.send(smalltalk.send(html, "_p", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("http%3A//groups.google.com/group/amber-lang")]);return smalltalk.send($rec, "_with_", [unescape("groups.google.com/group/amber-lang")]);})(smalltalk.send(html, "_a", []));})]);})]);})(smalltalk.send(html, "_div", []));
|
1903
|
+
return self;}
|
1904
|
+
}),
|
1905
|
+
smalltalk.FOSDEMContributionsSlide);
|
1906
|
+
|
1907
|
+
|
1908
|
+
|
1909
|
+
smalltalk.addClass('FOSDEMAmberZeroNine', smalltalk.FOSDEMSlide, [], 'Presentation');
|
1910
|
+
smalltalk.addMethod(
|
1911
|
+
unescape('_renderSlideOn_'),
|
1912
|
+
smalltalk.method({
|
1913
|
+
selector: unescape('renderSlideOn%3A'),
|
1914
|
+
fn: function (html){
|
1915
|
+
var self=this;
|
1916
|
+
(function($rec){smalltalk.send($rec, "_class_", ["section center"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_h1_", [unescape("Amber%200.9.1%20is%20out%20%21")]);smalltalk.send($rec, "_div_", [(function(){return smalltalk.send(smalltalk.send(html, "_cite", []), "_with_", [unescape("Now%20with%20over%2043%20forks%20on%20github%20and%20more%20than%20230%20followers%20the%20project%3A%20%20http%3A//www.amber-lang.net%20%20...is%20live%20and%20kicking%21")]);})]);return smalltalk.send($rec, "_div_", [(function(){return smalltalk.send(smalltalk.send(html, "_cite", []), "_with_", [unescape("--%20Nicolas%20%26%20G%F6ran")]);})]);})(html);})]);})(smalltalk.send(html, "_div", []));
|
1917
|
+
return self;}
|
1918
|
+
}),
|
1919
|
+
smalltalk.FOSDEMAmberZeroNine);
|
1920
|
+
|
1921
|
+
|
1922
|
+
|