├── .gitignore ├── .travis.yml ├── Gruntfile.js ├── LICENSE ├── README.md ├── css ├── presentation.css └── print │ ├── paper.css │ └── pdf.css ├── demos ├── collection-repeat │ ├── img │ │ ├── 1.png │ │ ├── 2.png │ │ ├── 3.png │ │ ├── 4.png │ │ ├── 5.png │ │ └── 6.png │ ├── index.html │ ├── index.js │ └── style.css ├── components │ ├── index.html │ ├── index.js │ └── style.css ├── list │ ├── index.html │ └── index.js ├── sidemenu │ ├── css │ │ └── style.css │ ├── index.html │ ├── js │ │ └── app.js │ └── templates │ │ ├── attendees.html │ │ ├── check-in.html │ │ ├── event-menu.html │ │ └── home.html ├── spinner │ ├── index.html │ ├── index.js │ └── templates │ │ ├── about.html │ │ ├── contact.html │ │ ├── facts.html │ │ ├── facts2.html │ │ ├── home.html │ │ └── nav-stack.html ├── swipe-back │ ├── charlie.gif │ ├── excited.gif │ ├── george.gif │ ├── index.html │ ├── index.js │ ├── style.css │ └── templates │ │ ├── page1.html │ │ └── page2.html └── tabs │ ├── css │ └── style.css │ ├── index.html │ ├── js │ └── app.js │ └── templates │ ├── about.html │ ├── contact.html │ ├── facts.html │ ├── facts2.html │ ├── home.html │ ├── nav-stack.html │ └── tabs.html ├── favicon.ico ├── img ├── adoption.png ├── android-adoption.png ├── android.png ├── angular-bg.png ├── angular-icon.png ├── apple.png ├── bigdeal.gif ├── blackberry.png ├── cached-view.png ├── caniuse-flexbox.png ├── caniuse-querySelector.png ├── choose_wisely.gif ├── chromium.jpg ├── cli.png ├── community.jpg ├── continuity.png ├── cordova.png ├── css.png ├── demo-bg.png ├── design-icon.png ├── dylan.jpg ├── early_computing.jpg ├── easybib.png ├── favicon-96x96.png ├── firefoxos.png ├── focus-on-app.png ├── github.png ├── html.png ├── internet.jpg ├── ionic-angular-v2.jpg ├── ionic-creator.png ├── ionic-logo-landscape.png ├── ionic-logo-portrait.png ├── ionic-logo.png ├── ionic-logo.svg ├── ionic-push.png ├── ionic-view.png ├── ionicio.png ├── ionicons.png ├── ionitron-twitter.png ├── ionitron.png ├── ios8-adoption.png ├── ios9adoption1.png ├── ios9adoption2.png ├── js.png ├── madison.jpg ├── marker.png ├── market.png ├── me.jpg ├── me.png ├── native-icon.png ├── native-sdk.png ├── ng-cordova.png ├── oldphones.jpg ├── performance-icon.png ├── perry.jpg ├── phones-stacked.png ├── platform-continuity.png ├── providence.png ├── safari.png ├── sass-icon.png ├── sass.png ├── showcase.png ├── superpower.jpg ├── times-changin.png ├── trends.png ├── twitter.png ├── typescript-bg.png ├── v1rc.png ├── web-browser.png ├── web.png ├── websdk-ionic.png ├── websdk.png └── windows.png ├── index.html ├── ionic ├── css │ ├── ionic.css │ └── ionic.min.css ├── fonts │ ├── ionicons.eot │ ├── ionicons.svg │ ├── ionicons.ttf │ └── ionicons.woff ├── js │ ├── angular-ui │ │ ├── angular-ui-router.js │ │ └── angular-ui-router.min.js │ ├── angular │ │ ├── angular-animate.js │ │ ├── angular-animate.min.js │ │ ├── angular-resource.js │ │ ├── angular-resource.min.js │ │ ├── angular-sanitize.js │ │ ├── angular-sanitize.min.js │ │ ├── angular.js │ │ └── angular.min.js │ ├── ionic-angular.js │ ├── ionic-angular.min.js │ ├── ionic.bundle.js │ ├── ionic.bundle.min.js │ ├── ionic.js │ └── ionic.min.js └── version.json ├── js ├── reveal.js └── reveal.min.js ├── lib ├── css │ └── atom-one-dark.css ├── font │ ├── league-gothic │ │ ├── LICENSE │ │ ├── league-gothic.css │ │ ├── league-gothic.eot │ │ ├── league-gothic.ttf │ │ └── league-gothic.woff │ └── source-sans-pro │ │ ├── LICENSE │ │ ├── source-sans-pro-italic.eot │ │ ├── source-sans-pro-italic.ttf │ │ ├── source-sans-pro-italic.woff │ │ ├── source-sans-pro-regular.eot │ │ ├── source-sans-pro-regular.ttf │ │ ├── source-sans-pro-regular.woff │ │ ├── source-sans-pro-semibold.eot │ │ ├── source-sans-pro-semibold.ttf │ │ ├── source-sans-pro-semibold.woff │ │ ├── source-sans-pro-semibolditalic.eot │ │ ├── source-sans-pro-semibolditalic.ttf │ │ ├── source-sans-pro-semibolditalic.woff │ │ └── source-sans-pro.css └── js │ ├── classList.js │ ├── head.min.js │ └── html5shiv.js ├── package.json ├── plugin ├── highlight │ └── highlight.js ├── leap │ └── leap.js ├── markdown │ ├── example.html │ ├── example.md │ ├── markdown.js │ └── marked.js ├── math │ └── math.js ├── multiplex │ ├── client.js │ ├── index.js │ └── master.js ├── notes-server │ ├── client.js │ ├── index.js │ └── notes.html ├── notes │ ├── notes.html │ └── notes.js ├── print-pdf │ └── print-pdf.js ├── remotes │ └── remotes.js ├── search │ └── search.js └── zoom-js │ └── zoom.js ├── scss ├── ionic.scss ├── main.scss ├── reveal.scss └── theme │ ├── mixins.scss │ ├── settings.scss │ └── theme.scss └── test ├── examples ├── assets │ ├── image1.png │ └── image2.png ├── barebones.html ├── embedded-media.html ├── math.html └── slide-backgrounds.html ├── qunit-1.12.0.css ├── qunit-1.12.0.js ├── test-markdown-element-attributes.html ├── test-markdown-element-attributes.js ├── test-markdown-slide-attributes.html ├── test-markdown-slide-attributes.js ├── test-markdown.html ├── test-markdown.js ├── test-pdf.html ├── test-pdf.js ├── test.html └── test.js /.gitignore: -------------------------------------------------------------------------------- 1 | .sass-cache 2 | .*.sw* 3 | .DS_Store 4 | .idea 5 | null 6 | _site 7 | node_modules/ 8 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 4 | before_script: 5 | - npm install -g grunt-cli -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- 1 | /* global module:false */ 2 | module.exports = function(grunt) { 3 | var port = grunt.option('port') || 8001; 4 | // Project configuration 5 | grunt.initConfig({ 6 | pkg: grunt.file.readJSON('package.json'), 7 | meta: { 8 | banner: 9 | '/*!\n' + 10 | ' * reveal.js <%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd, HH:MM") %>)\n' + 11 | ' * http://lab.hakim.se/reveal-js\n' + 12 | ' * MIT licensed\n' + 13 | ' *\n' + 14 | ' * Copyright (C) 2015 Hakim El Hattab, http://hakim.se\n' + 15 | ' */' 16 | }, 17 | 18 | qunit: { 19 | files: [ 'test/*.html' ] 20 | }, 21 | 22 | uglify: { 23 | options: { 24 | banner: '<%= meta.banner %>\n' 25 | }, 26 | build: { 27 | src: 'js/reveal.js', 28 | dest: 'js/reveal.min.js' 29 | } 30 | }, 31 | 32 | sass: { 33 | core: { 34 | files: { 35 | 'css/presentation.css': 'scss/main.scss', 36 | } 37 | }, 38 | themes: { 39 | 40 | } 41 | }, 42 | 43 | autoprefixer: { 44 | dist: { 45 | src: 'css/presentation.css' 46 | } 47 | }, 48 | 49 | jshint: { 50 | options: { 51 | curly: false, 52 | eqeqeq: true, 53 | immed: true, 54 | latedef: true, 55 | newcap: true, 56 | noarg: true, 57 | sub: true, 58 | undef: true, 59 | eqnull: true, 60 | browser: true, 61 | expr: true, 62 | globals: { 63 | head: false, 64 | module: false, 65 | console: false, 66 | unescape: false, 67 | define: false, 68 | exports: false 69 | } 70 | }, 71 | files: [ 'Gruntfile.js', 'js/reveal.js' ] 72 | }, 73 | 74 | connect: { 75 | server: { 76 | options: { 77 | port: port, 78 | base: '.', 79 | livereload: false, 80 | open: true 81 | } 82 | } 83 | }, 84 | 85 | zip: { 86 | 'reveal-js-presentation.zip': [ 87 | 'index.html', 88 | 'css/**', 89 | 'js/**', 90 | 'lib/**', 91 | 'images/**', 92 | 'plugin/**' 93 | ] 94 | }, 95 | 96 | watch: { 97 | options: { 98 | livereload: false 99 | }, 100 | js: { 101 | files: [ 'Gruntfile.js', 'js/reveal.js' ], 102 | tasks: 'js' 103 | }, 104 | theme: { 105 | files: [ 'scss/theme/source/*.scss', 'scss/theme/template/*.scss' ], 106 | tasks: 'css-themes' 107 | }, 108 | css: { 109 | files: [ 'scss/*.scss' ], 110 | tasks: 'css-core' 111 | }, 112 | html: { 113 | files: [ 'index.html'] 114 | } 115 | } 116 | 117 | }); 118 | 119 | // Dependencies 120 | grunt.loadNpmTasks( 'grunt-contrib-qunit' ); 121 | grunt.loadNpmTasks( 'grunt-contrib-jshint' ); 122 | grunt.loadNpmTasks( 'grunt-contrib-uglify' ); 123 | grunt.loadNpmTasks( 'grunt-contrib-watch' ); 124 | grunt.loadNpmTasks( 'grunt-sass' ); 125 | grunt.loadNpmTasks( 'grunt-contrib-connect' ); 126 | grunt.loadNpmTasks( 'grunt-autoprefixer' ); 127 | grunt.loadNpmTasks( 'grunt-zip' ); 128 | 129 | // Default task 130 | grunt.registerTask( 'default', [ 'css', 'js' ] ); 131 | 132 | // JS task 133 | grunt.registerTask( 'js', [ 'jshint', 'uglify', 'qunit' ] ); 134 | 135 | // Theme CSS 136 | grunt.registerTask( 'css-themes', [ 'sass:themes' ] ); 137 | 138 | // Core framework CSS 139 | grunt.registerTask( 'css-core', [ 'sass:core', 'autoprefixer'] ); 140 | 141 | // All CSS 142 | grunt.registerTask( 'css', [ 'sass', 'autoprefixer' ] ); 143 | 144 | // Package presentation to archive 145 | grunt.registerTask( 'package', [ 'default', 'zip' ] ); 146 | 147 | // Serve presentation locally 148 | grunt.registerTask( 'serve', [ 'connect', 'watch' ] ); 149 | 150 | // Run tests 151 | grunt.registerTask( 'test', [ 'jshint', 'qunit' ] ); 152 | 153 | }; 154 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2015 Hakim El Hattab, http://hakim.se 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /css/print/paper.css: -------------------------------------------------------------------------------- 1 | /* Default Print Stylesheet Template 2 | by Rob Glazebrook of CSSnewbie.com 3 | Last Updated: June 4, 2008 4 | 5 | Feel free (nay, compelled) to edit, append, and 6 | manipulate this file as you see fit. */ 7 | 8 | 9 | @media print { 10 | 11 | /* SECTION 1: Set default width, margin, float, and 12 | background. This prevents elements from extending 13 | beyond the edge of the printed page, and prevents 14 | unnecessary background images from printing */ 15 | html { 16 | background: #fff; 17 | width: auto; 18 | height: auto; 19 | overflow: visible; 20 | } 21 | body { 22 | background: #fff; 23 | font-size: 20pt; 24 | width: auto; 25 | height: auto; 26 | border: 0; 27 | margin: 0 5%; 28 | padding: 0; 29 | overflow: visible; 30 | float: none !important; 31 | } 32 | 33 | /* SECTION 2: Remove any elements not needed in print. 34 | This would include navigation, ads, sidebars, etc. */ 35 | .nestedarrow, 36 | .controls, 37 | .fork-reveal, 38 | .share-reveal, 39 | .state-background, 40 | .reveal .progress, 41 | .reveal .backgrounds { 42 | display: none !important; 43 | } 44 | 45 | /* SECTION 3: Set body font face, size, and color. 46 | Consider using a serif font for readability. */ 47 | body, p, td, li, div { 48 | font-size: 20pt!important; 49 | font-family: Georgia, "Times New Roman", Times, serif !important; 50 | color: #000; 51 | } 52 | 53 | /* SECTION 4: Set heading font face, sizes, and color. 54 | Differentiate your headings from your body text. 55 | Perhaps use a large sans-serif for distinction. */ 56 | h1,h2,h3,h4,h5,h6 { 57 | color: #000!important; 58 | height: auto; 59 | line-height: normal; 60 | font-family: Georgia, "Times New Roman", Times, serif !important; 61 | text-shadow: 0 0 0 #000 !important; 62 | text-align: left; 63 | letter-spacing: normal; 64 | } 65 | /* Need to reduce the size of the fonts for printing */ 66 | h1 { font-size: 28pt !important; } 67 | h2 { font-size: 24pt !important; } 68 | h3 { font-size: 22pt !important; } 69 | h4 { font-size: 22pt !important; font-variant: small-caps; } 70 | h5 { font-size: 21pt !important; } 71 | h6 { font-size: 20pt !important; font-style: italic; } 72 | 73 | /* SECTION 5: Make hyperlinks more usable. 74 | Ensure links are underlined, and consider appending 75 | the URL to the end of the link for usability. */ 76 | a:link, 77 | a:visited { 78 | color: #000 !important; 79 | font-weight: bold; 80 | text-decoration: underline; 81 | } 82 | /* 83 | .reveal a:link:after, 84 | .reveal a:visited:after { 85 | content: " (" attr(href) ") "; 86 | color: #222 !important; 87 | font-size: 90%; 88 | } 89 | */ 90 | 91 | 92 | /* SECTION 6: more reveal.js specific additions by @skypanther */ 93 | ul, ol, div, p { 94 | visibility: visible; 95 | position: static; 96 | width: auto; 97 | height: auto; 98 | display: block; 99 | overflow: visible; 100 | margin: 0; 101 | text-align: left !important; 102 | } 103 | .reveal pre, 104 | .reveal table { 105 | margin-left: 0; 106 | margin-right: 0; 107 | } 108 | .reveal pre code { 109 | padding: 20px; 110 | border: 1px solid #ddd; 111 | } 112 | .reveal blockquote { 113 | margin: 20px 0; 114 | } 115 | .reveal .slides { 116 | position: static !important; 117 | width: auto !important; 118 | height: auto !important; 119 | 120 | left: 0 !important; 121 | top: 0 !important; 122 | margin-left: 0 !important; 123 | margin-top: 0 !important; 124 | padding: 0 !important; 125 | zoom: 1 !important; 126 | 127 | overflow: visible !important; 128 | display: block !important; 129 | 130 | text-align: left !important; 131 | -webkit-perspective: none; 132 | -moz-perspective: none; 133 | -ms-perspective: none; 134 | perspective: none; 135 | 136 | -webkit-perspective-origin: 50% 50%; 137 | -moz-perspective-origin: 50% 50%; 138 | -ms-perspective-origin: 50% 50%; 139 | perspective-origin: 50% 50%; 140 | } 141 | .reveal .slides section { 142 | visibility: visible !important; 143 | position: static !important; 144 | width: 100% !important; 145 | height: auto !important; 146 | display: block !important; 147 | overflow: visible !important; 148 | 149 | left: 0 !important; 150 | top: 0 !important; 151 | margin-left: 0 !important; 152 | margin-top: 0 !important; 153 | padding: 60px 20px !important; 154 | z-index: auto !important; 155 | 156 | opacity: 1 !important; 157 | 158 | page-break-after: always !important; 159 | 160 | -webkit-transform-style: flat !important; 161 | -moz-transform-style: flat !important; 162 | -ms-transform-style: flat !important; 163 | transform-style: flat !important; 164 | 165 | -webkit-transform: none !important; 166 | -moz-transform: none !important; 167 | -ms-transform: none !important; 168 | transform: none !important; 169 | 170 | -webkit-transition: none !important; 171 | -moz-transition: none !important; 172 | -ms-transition: none !important; 173 | transition: none !important; 174 | } 175 | .reveal .slides section.stack { 176 | padding: 0 !important; 177 | } 178 | .reveal section:last-of-type { 179 | page-break-after: avoid !important; 180 | } 181 | .reveal section .fragment { 182 | opacity: 1 !important; 183 | visibility: visible !important; 184 | 185 | -webkit-transform: none !important; 186 | -moz-transform: none !important; 187 | -ms-transform: none !important; 188 | transform: none !important; 189 | } 190 | .reveal section img { 191 | display: block; 192 | margin: 15px 0px; 193 | background: rgba(255,255,255,1); 194 | border: 1px solid #666; 195 | box-shadow: none; 196 | } 197 | 198 | .reveal section small { 199 | font-size: 0.8em; 200 | } 201 | 202 | } -------------------------------------------------------------------------------- /css/print/pdf.css: -------------------------------------------------------------------------------- 1 | /* Default Print Stylesheet Template 2 | by Rob Glazebrook of CSSnewbie.com 3 | Last Updated: June 4, 2008 4 | 5 | Feel free (nay, compelled) to edit, append, and 6 | manipulate this file as you see fit. */ 7 | 8 | 9 | /* SECTION 1: Set default width, margin, float, and 10 | background. This prevents elements from extending 11 | beyond the edge of the printed page, and prevents 12 | unnecessary background images from printing */ 13 | 14 | * { 15 | -webkit-print-color-adjust: exact; 16 | } 17 | 18 | body { 19 | margin: 0 auto !important; 20 | border: 0; 21 | padding: 0; 22 | float: none !important; 23 | overflow: visible; 24 | } 25 | 26 | html { 27 | width: 100%; 28 | height: 100%; 29 | overflow: visible; 30 | } 31 | 32 | /* SECTION 2: Remove any elements not needed in print. 33 | This would include navigation, ads, sidebars, etc. */ 34 | .nestedarrow, 35 | .reveal .controls, 36 | .reveal .progress, 37 | .reveal .slide-number, 38 | .reveal .playback, 39 | .reveal.overview, 40 | .fork-reveal, 41 | .share-reveal, 42 | .state-background { 43 | display: none !important; 44 | } 45 | 46 | /* SECTION 3: Set body font face, size, and color. 47 | Consider using a serif font for readability. */ 48 | body, p, td, li, div { 49 | 50 | } 51 | 52 | /* SECTION 4: Set heading font face, sizes, and color. 53 | Differentiate your headings from your body text. 54 | Perhaps use a large sans-serif for distinction. */ 55 | h1,h2,h3,h4,h5,h6 { 56 | text-shadow: 0 0 0 #000 !important; 57 | } 58 | 59 | .reveal pre code { 60 | overflow: hidden !important; 61 | font-family: Courier, 'Courier New', monospace !important; 62 | } 63 | 64 | 65 | /* SECTION 5: more reveal.js specific additions by @skypanther */ 66 | ul, ol, div, p { 67 | visibility: visible; 68 | position: static; 69 | width: auto; 70 | height: auto; 71 | display: block; 72 | overflow: visible; 73 | margin: auto; 74 | } 75 | .reveal { 76 | width: auto !important; 77 | height: auto !important; 78 | overflow: hidden !important; 79 | } 80 | .reveal .slides { 81 | position: static; 82 | width: 100%; 83 | height: auto; 84 | 85 | left: auto; 86 | top: auto; 87 | margin: 0 !important; 88 | padding: 0 !important; 89 | 90 | overflow: visible; 91 | display: block; 92 | 93 | -webkit-perspective: none; 94 | -moz-perspective: none; 95 | -ms-perspective: none; 96 | perspective: none; 97 | 98 | -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */ 99 | -moz-perspective-origin: 50% 50%; 100 | -ms-perspective-origin: 50% 50%; 101 | perspective-origin: 50% 50%; 102 | } 103 | .reveal .slides section { 104 | page-break-after: always !important; 105 | 106 | visibility: visible !important; 107 | position: relative !important; 108 | display: block !important; 109 | position: relative !important; 110 | 111 | margin: 0 !important; 112 | padding: 0 !important; 113 | box-sizing: border-box !important; 114 | min-height: 1px; 115 | 116 | opacity: 1 !important; 117 | 118 | -webkit-transform-style: flat !important; 119 | -moz-transform-style: flat !important; 120 | -ms-transform-style: flat !important; 121 | transform-style: flat !important; 122 | 123 | -webkit-transform: none !important; 124 | -moz-transform: none !important; 125 | -ms-transform: none !important; 126 | transform: none !important; 127 | } 128 | .reveal section.stack { 129 | margin: 0 !important; 130 | padding: 0 !important; 131 | page-break-after: avoid !important; 132 | height: auto !important; 133 | min-height: auto !important; 134 | } 135 | .reveal img { 136 | box-shadow: none; 137 | } 138 | .reveal .roll { 139 | overflow: visible; 140 | line-height: 1em; 141 | } 142 | 143 | /* Slide backgrounds are placed inside of their slide when exporting to PDF */ 144 | .reveal section .slide-background { 145 | display: block !important; 146 | position: absolute; 147 | top: 0; 148 | left: 0; 149 | width: 100%; 150 | z-index: -1; 151 | } 152 | /* All elements should be above the slide-background */ 153 | .reveal section>* { 154 | position: relative; 155 | z-index: 1; 156 | } 157 | 158 | -------------------------------------------------------------------------------- /demos/collection-repeat/img/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/demos/collection-repeat/img/1.png -------------------------------------------------------------------------------- /demos/collection-repeat/img/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/demos/collection-repeat/img/2.png -------------------------------------------------------------------------------- /demos/collection-repeat/img/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/demos/collection-repeat/img/3.png -------------------------------------------------------------------------------- /demos/collection-repeat/img/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/demos/collection-repeat/img/4.png -------------------------------------------------------------------------------- /demos/collection-repeat/img/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/demos/collection-repeat/img/5.png -------------------------------------------------------------------------------- /demos/collection-repeat/img/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/demos/collection-repeat/img/6.png -------------------------------------------------------------------------------- /demos/collection-repeat/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/demos/collection-repeat/style.css -------------------------------------------------------------------------------- /demos/components/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |

Components

24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | {{ ::item }} 36 | 37 | 38 | 39 | Toggle 40 | 41 | 42 | 43 | Checkbox 44 | 45 | 46 | 56 | 57 |
58 | 59 | 60 | 61 |
62 | 63 |
64 | 65 |
66 |

67 | 68 |

69 |
70 | 71 |

72 | 73 | 74 | 75 | 76 |

77 | 78 |

79 | 80 | 81 | 82 | 83 |

84 |
85 | 86 | 111 | 112 | 113 | 114 | -------------------------------------------------------------------------------- /demos/components/index.js: -------------------------------------------------------------------------------- 1 | angular.module('ionicApp', ['ionic']) 2 | 3 | .controller('MainCtrl', function($scope, $timeout, $ionicActionSheet, $ionicModal, $ionicPopup) { 4 | 5 | $scope.items = ['Item 1', 'Item 2']; 6 | 7 | $scope.showActionsheet = function() { 8 | 9 | $ionicActionSheet.show({ 10 | titleText: 'Action Sheet Example', 11 | buttons: [ 12 | { text: 'Share' }, 13 | { text: 'Move' }, 14 | ], 15 | destructiveText: 'Delete', 16 | cancelText: 'Cancel', 17 | cancel: function() { 18 | console.log('CANCELLED'); 19 | }, 20 | buttonClicked: function(index) { 21 | console.log('BUTTON CLICKED', index); 22 | return true; 23 | }, 24 | destructiveButtonClicked: function() { 25 | console.log('DESTRUCT'); 26 | return true; 27 | } 28 | }); 29 | }; 30 | 31 | $ionicModal.fromTemplateUrl('templates/modal.html', { 32 | scope: $scope 33 | }).then(function(modal) { 34 | $scope.modal = modal; 35 | }); 36 | 37 | $scope.doRefresh = function() { 38 | 39 | $timeout( function() { 40 | $scope.$broadcast('scroll.refreshComplete'); 41 | }, 1000); 42 | 43 | }; 44 | 45 | $scope.showConfirm = function() { 46 | var confirmPopup = $ionicPopup.confirm({ 47 | title: 'Consume Ice Cream', 48 | template: 'Are you sure you want to eat this ice cream?' 49 | }); 50 | confirmPopup.then(function(res) { 51 | if(res) { 52 | console.log('You are sure'); 53 | } else { 54 | console.log('You are not sure'); 55 | } 56 | }); 57 | }; 58 | 59 | }); 60 | -------------------------------------------------------------------------------- /demos/components/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: white; 3 | } 4 | -------------------------------------------------------------------------------- /demos/list/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 |

Lists

16 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 30 | List Item {{ item.id }} 31 | 33 | 34 | 36 | Edit 37 | 38 | 40 | Share 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /demos/list/index.js: -------------------------------------------------------------------------------- 1 | angular.module('ionicApp', ['ionic']) 2 | 3 | .controller('MyCtrl', function($scope) { 4 | 5 | $scope.data = { 6 | showDelete: false 7 | }; 8 | 9 | $scope.edit = function(item) { 10 | alert('Edit Item: ' + item.id); 11 | }; 12 | $scope.share = function(item) { 13 | alert('Share Item: ' + item.id); 14 | }; 15 | 16 | $scope.moveItem = function(item, fromIndex, toIndex) { 17 | $scope.items.splice(fromIndex, 1); 18 | $scope.items.splice(toIndex, 0, item); 19 | }; 20 | 21 | $scope.onItemDelete = function(item) { 22 | $scope.items.splice($scope.items.indexOf(item), 1); 23 | }; 24 | 25 | $scope.items = [ 26 | { id: 0 }, 27 | { id: 1 }, 28 | { id: 2 }, 29 | { id: 3 }, 30 | { id: 4 }, 31 | { id: 5 }, 32 | { id: 6 }, 33 | { id: 7 }, 34 | { id: 8 }, 35 | { id: 9 }, 36 | { id: 10 }, 37 | { id: 11 }, 38 | { id: 12 }, 39 | { id: 13 }, 40 | { id: 14 }, 41 | { id: 15 }, 42 | { id: 16 }, 43 | { id: 17 }, 44 | { id: 18 }, 45 | { id: 19 }, 46 | { id: 20 }, 47 | { id: 21 }, 48 | { id: 22 }, 49 | { id: 23 }, 50 | { id: 24 }, 51 | { id: 25 }, 52 | { id: 26 }, 53 | { id: 27 }, 54 | { id: 28 }, 55 | { id: 29 }, 56 | { id: 30 }, 57 | { id: 31 }, 58 | { id: 32 }, 59 | { id: 33 }, 60 | { id: 34 }, 61 | { id: 35 }, 62 | { id: 36 }, 63 | { id: 37 }, 64 | { id: 38 }, 65 | { id: 39 }, 66 | { id: 40 }, 67 | { id: 41 }, 68 | { id: 42 }, 69 | { id: 43 }, 70 | { id: 44 }, 71 | { id: 45 }, 72 | { id: 46 }, 73 | { id: 47 }, 74 | { id: 48 }, 75 | { id: 49 }, 76 | { id: 50 } 77 | ]; 78 | 79 | }); 80 | -------------------------------------------------------------------------------- /demos/sidemenu/css/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | 3 | } -------------------------------------------------------------------------------- /demos/sidemenu/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Side Menus 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /demos/sidemenu/js/app.js: -------------------------------------------------------------------------------- 1 | angular.module('ionicApp', ['ionic']) 2 | 3 | .config(function($stateProvider, $urlRouterProvider) { 4 | 5 | $stateProvider 6 | .state('eventmenu', { 7 | url: "/event", 8 | abstract: true, 9 | templateUrl: "templates/event-menu.html" 10 | }) 11 | .state('eventmenu.home', { 12 | url: "/home", 13 | views: { 14 | 'menuContent' :{ 15 | templateUrl: "templates/home.html" 16 | } 17 | } 18 | }) 19 | .state('eventmenu.checkin', { 20 | url: "/check-in", 21 | views: { 22 | 'menuContent' :{ 23 | templateUrl: "templates/check-in.html", 24 | controller: "CheckinCtrl" 25 | } 26 | } 27 | }) 28 | .state('eventmenu.attendees', { 29 | url: "/attendees", 30 | views: { 31 | 'menuContent' :{ 32 | templateUrl: "templates/attendees.html", 33 | controller: "AttendeesCtrl" 34 | } 35 | } 36 | }) 37 | 38 | $urlRouterProvider.otherwise("/event/home"); 39 | }) 40 | 41 | .controller('MainCtrl', function($scope, $ionicSideMenuDelegate) { 42 | $scope.attendees = [ 43 | { firstname: 'Nicolas', lastname: 'Cage' }, 44 | { firstname: 'Jean-Claude', lastname: 'Van Damme' }, 45 | { firstname: 'Keanu', lastname: 'Reeves' }, 46 | { firstname: 'Steven', lastname: 'Seagal' } 47 | ]; 48 | 49 | $scope.toggleLeft = function() { 50 | $ionicSideMenuDelegate.toggleLeft(); 51 | }; 52 | }) 53 | 54 | .controller('CheckinCtrl', function($scope) { 55 | $scope.showForm = true; 56 | 57 | $scope.shirtSizes = [ 58 | { text: 'Large', value: 'L' }, 59 | { text: 'Medium', value: 'M' }, 60 | { text: 'Small', value: 'S' } 61 | ]; 62 | 63 | $scope.attendee = {}; 64 | $scope.submit = function() { 65 | if(!$scope.attendee.firstname) { 66 | alert('Info required'); 67 | return; 68 | } 69 | $scope.showForm = false; 70 | $scope.attendees.push($scope.attendee); 71 | }; 72 | 73 | }) 74 | 75 | .controller('AttendeesCtrl', function($scope) { 76 | 77 | $scope.activity = []; 78 | $scope.arrivedChange = function(attendee) { 79 | var msg = attendee.firstname + ' ' + attendee.lastname; 80 | msg += (!attendee.arrived ? ' has arrived, ' : ' just left, '); 81 | msg += new Date().getMilliseconds(); 82 | $scope.activity.push(msg); 83 | if($scope.activity.length > 3) { 84 | $scope.activity.splice(0, 1); 85 | } 86 | }; 87 | 88 | }); 89 | -------------------------------------------------------------------------------- /demos/sidemenu/templates/attendees.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 7 | {{ attendee.firstname }} 8 | {{ attendee.lastname }} 9 | 10 |
11 | Activity 12 |
13 |
14 | {{ msg }} 15 |
16 |
17 |
18 |
-------------------------------------------------------------------------------- /demos/sidemenu/templates/check-in.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 | Attendee Info 6 |
7 | 10 | 13 |
14 | Shirt Size 15 |
16 | 19 | {{ shirtSize.text }} 20 | 21 |
22 | Lunch 23 |
24 | 25 | Vegetarian 26 | 27 |
28 | 29 |
30 |
31 | 32 |
33 |
 
34 |       View attendees
35 |     
36 |
37 |
-------------------------------------------------------------------------------- /demos/sidemenu/templates/event-menu.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |

Left Menu

20 |
21 | 22 | 27 | 28 |
29 | 30 |
-------------------------------------------------------------------------------- /demos/sidemenu/templates/home.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Swipe to the right to reveal the left menu.

4 |

(On desktop click and drag from left to right)

5 |
6 |
-------------------------------------------------------------------------------- /demos/spinner/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |

25 | 26 | 27 |

28 | 29 |

30 | 31 | 32 |

33 | 34 |

35 | 36 | 37 |

38 | 39 |

40 | 41 | 42 |

43 | 44 |

45 | 46 | 47 |

48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /demos/spinner/index.js: -------------------------------------------------------------------------------- 1 | angular.module('ionicApp', ['ionic']) 2 | 3 | .config(function($stateProvider, $urlRouterProvider) { 4 | 5 | $stateProvider 6 | .state('tabs', { 7 | url: "/tab", 8 | abstract: true, 9 | templateUrl: "tabs.html" 10 | }) 11 | .state('tabs.home', { 12 | url: "/home", 13 | views: { 14 | 'home-tab': { 15 | templateUrl: "templates/home.html", 16 | controller: 'HomeTabCtrl' 17 | } 18 | } 19 | }) 20 | .state('tabs.facts', { 21 | url: "/facts", 22 | views: { 23 | 'home-tab': { 24 | templateUrl: "templates/facts.html" 25 | } 26 | } 27 | }) 28 | .state('tabs.facts2', { 29 | url: "/facts2", 30 | views: { 31 | 'home-tab': { 32 | templateUrl: "templates/facts2.html" 33 | } 34 | } 35 | }) 36 | .state('tabs.about', { 37 | url: "/about", 38 | views: { 39 | 'about-tab': { 40 | templateUrl: "templates/about.html" 41 | } 42 | } 43 | }) 44 | .state('tabs.navstack', { 45 | url: "/navstack", 46 | views: { 47 | 'about-tab': { 48 | templateUrl: "templates/nav-stack.html" 49 | } 50 | } 51 | }) 52 | .state('tabs.contact', { 53 | url: "/contact", 54 | views: { 55 | 'contact-tab': { 56 | templateUrl: "templates/contact.html" 57 | } 58 | } 59 | }); 60 | 61 | 62 | $urlRouterProvider.otherwise("/tab/home"); 63 | 64 | }) 65 | 66 | .controller('HomeTabCtrl', function($scope) { 67 | console.log('HomeTabCtrl'); 68 | }); 69 | -------------------------------------------------------------------------------- /demos/spinner/templates/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Create hybrid mobile apps with the web technologies you love.

4 |

Free and open source, Ionic offers a library of mobile-optimized HTML, CSS and JS components for building highly interactive apps.

5 |

Built with Sass and optimized for AngularJS.

6 |

7 | Tabs Nav Stack 8 |

9 |
10 |
11 | -------------------------------------------------------------------------------- /demos/spinner/templates/contact.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 | @IonicFramework 6 |
7 |
8 | @DriftyTeam 9 |
10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /demos/spinner/templates/facts.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Banging your head against a wall uses 150 calories an hour.

4 |

Dogs have four toes on their hind feet, and five on their front feet.

5 |

The ant can lift 50 times its own weight, can pull 30 times its own weight and always falls over on its right side when intoxicated.

6 |

A cockroach will live nine days without it's head, before it starves to death.

7 |

Polar bears are left handed.

8 |

9 | Home 10 | More Facts 11 |

12 |
13 |
14 | -------------------------------------------------------------------------------- /demos/spinner/templates/facts2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

111,111,111 x 111,111,111 = 12,345,678,987,654,321

4 |

1 in every 4 Americans has appeared on T.V.

5 |

11% of the world is left-handed.

6 |

1 in 8 Americans has worked at a McDonalds restaurant.

7 |

$283,200 is the absolute highest amount of money you can win on Jeopardy.

8 |

101 Dalmatians, Peter Pan, Lady and the Tramp, and Mulan are the only Disney cartoons where both parents are present and don't die throughout the movie.

9 |

10 | Home 11 | Scientific Facts 12 |

13 |
14 |
15 | -------------------------------------------------------------------------------- /demos/spinner/templates/home.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Example of Ionic tabs. Navigate to each tab, and 4 | navigate to child views of each tab and notice how 5 | each tab has its own navigation history.

6 |

7 | Scientific Facts 8 |

9 |
10 |
11 | -------------------------------------------------------------------------------- /demos/spinner/templates/nav-stack.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 |
5 |
6 | -------------------------------------------------------------------------------- /demos/swipe-back/charlie.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/demos/swipe-back/charlie.gif -------------------------------------------------------------------------------- /demos/swipe-back/excited.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/demos/swipe-back/excited.gif -------------------------------------------------------------------------------- /demos/swipe-back/george.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/demos/swipe-back/george.gif -------------------------------------------------------------------------------- /demos/swipe-back/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /demos/swipe-back/index.js: -------------------------------------------------------------------------------- 1 | window.cordova = { yup: true }; 2 | ionic.Platform.isReady = true; 3 | 4 | angular.module('ionicApp', ['ionic']) 5 | 6 | .config(function($stateProvider, $urlRouterProvider){ 7 | 8 | $stateProvider 9 | 10 | .state('index', { 11 | url: '/', 12 | templateUrl: 'templates/page1.html' 13 | }) 14 | 15 | .state('page2', { 16 | url: '/page2', 17 | templateUrl: 'templates/page2.html' 18 | }); 19 | 20 | $urlRouterProvider.otherwise("/"); 21 | 22 | }); 23 | 24 | -------------------------------------------------------------------------------- /demos/swipe-back/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: white; 3 | } 4 | -------------------------------------------------------------------------------- /demos/swipe-back/templates/page1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

6 | Page 2 7 |

8 | 9 |
10 | 11 |
12 | 13 |
14 | -------------------------------------------------------------------------------- /demos/swipe-back/templates/page2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 | 7 |
8 | 9 |
10 | -------------------------------------------------------------------------------- /demos/tabs/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/demos/tabs/css/style.css -------------------------------------------------------------------------------- /demos/tabs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Tabs Example 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /demos/tabs/js/app.js: -------------------------------------------------------------------------------- 1 | angular.module('ionicApp', ['ionic']) 2 | 3 | .config(function($stateProvider, $urlRouterProvider) { 4 | 5 | $stateProvider 6 | .state('tabs', { 7 | url: "/tab", 8 | abstract: true, 9 | templateUrl: "templates/tabs.html" 10 | }) 11 | .state('tabs.home', { 12 | url: "/home", 13 | views: { 14 | 'home-tab': { 15 | templateUrl: "templates/home.html", 16 | controller: 'HomeTabCtrl' 17 | } 18 | } 19 | }) 20 | .state('tabs.facts', { 21 | url: "/facts", 22 | views: { 23 | 'home-tab': { 24 | templateUrl: "templates/facts.html" 25 | } 26 | } 27 | }) 28 | .state('tabs.facts2', { 29 | url: "/facts2", 30 | views: { 31 | 'home-tab': { 32 | templateUrl: "templates/facts2.html" 33 | } 34 | } 35 | }) 36 | .state('tabs.about', { 37 | url: "/about", 38 | views: { 39 | 'about-tab': { 40 | templateUrl: "templates/about.html" 41 | } 42 | } 43 | }) 44 | .state('tabs.navstack', { 45 | url: "/navstack", 46 | views: { 47 | 'about-tab': { 48 | templateUrl: "templates/nav-stack.html" 49 | } 50 | } 51 | }) 52 | .state('tabs.contact', { 53 | url: "/contact", 54 | views: { 55 | 'contact-tab': { 56 | templateUrl: "templates/contact.html" 57 | } 58 | } 59 | }); 60 | 61 | 62 | $urlRouterProvider.otherwise("/tab/home"); 63 | 64 | }) 65 | 66 | .controller('HomeTabCtrl', function($scope) { 67 | console.log('HomeTabCtrl'); 68 | }); -------------------------------------------------------------------------------- /demos/tabs/templates/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Create hybrid mobile apps with the web technologies you love.

4 |

Free and open source, Ionic offers a library of mobile-optimized HTML, CSS and JS components for building highly interactive apps.

5 |

Built with Sass and optimized for AngularJS.

6 |

7 | Tabs Nav Stack 8 |

9 |
10 |
-------------------------------------------------------------------------------- /demos/tabs/templates/contact.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /demos/tabs/templates/facts.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Banging your head against a wall uses 150 calories an hour.

4 |

Dogs have four toes on their hind feet, and five on their front feet.

5 |

The ant can lift 50 times its own weight, can pull 30 times its own weight and always falls over on its right side when intoxicated.

6 |

A cockroach will live nine days without it's head, before it starves to death.

7 |

Polar bears are left handed.

8 |

9 | Home 10 | More Facts 11 |

12 |
13 |
-------------------------------------------------------------------------------- /demos/tabs/templates/facts2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

111,111,111 x 111,111,111 = 12,345,678,987,654,321

4 |

1 in every 4 Americans has appeared on T.V.

5 |

11% of the world is left-handed.

6 |

1 in 8 Americans has worked at a McDonalds restaurant.

7 |

$283,200 is the absolute highest amount of money you can win on Jeopardy.

8 |

101 Dalmatians, Peter Pan, Lady and the Tramp, and Mulan are the only Disney cartoons where both parents are present and don't die throughout the movie.

9 |

10 | Home 11 | Scientific Facts 12 |

13 |
14 |
-------------------------------------------------------------------------------- /demos/tabs/templates/home.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | Scientific Facts 5 |

6 |
7 |
-------------------------------------------------------------------------------- /demos/tabs/templates/nav-stack.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 |
5 |
-------------------------------------------------------------------------------- /demos/tabs/templates/tabs.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/favicon.ico -------------------------------------------------------------------------------- /img/adoption.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/adoption.png -------------------------------------------------------------------------------- /img/android-adoption.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/android-adoption.png -------------------------------------------------------------------------------- /img/android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/android.png -------------------------------------------------------------------------------- /img/angular-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/angular-bg.png -------------------------------------------------------------------------------- /img/angular-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/angular-icon.png -------------------------------------------------------------------------------- /img/apple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/apple.png -------------------------------------------------------------------------------- /img/bigdeal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/bigdeal.gif -------------------------------------------------------------------------------- /img/blackberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/blackberry.png -------------------------------------------------------------------------------- /img/cached-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/cached-view.png -------------------------------------------------------------------------------- /img/caniuse-flexbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/caniuse-flexbox.png -------------------------------------------------------------------------------- /img/caniuse-querySelector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/caniuse-querySelector.png -------------------------------------------------------------------------------- /img/choose_wisely.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/choose_wisely.gif -------------------------------------------------------------------------------- /img/chromium.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/chromium.jpg -------------------------------------------------------------------------------- /img/cli.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/cli.png -------------------------------------------------------------------------------- /img/community.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/community.jpg -------------------------------------------------------------------------------- /img/continuity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/continuity.png -------------------------------------------------------------------------------- /img/cordova.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/cordova.png -------------------------------------------------------------------------------- /img/css.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/css.png -------------------------------------------------------------------------------- /img/demo-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/demo-bg.png -------------------------------------------------------------------------------- /img/design-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/design-icon.png -------------------------------------------------------------------------------- /img/dylan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/dylan.jpg -------------------------------------------------------------------------------- /img/early_computing.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/early_computing.jpg -------------------------------------------------------------------------------- /img/easybib.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/easybib.png -------------------------------------------------------------------------------- /img/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/favicon-96x96.png -------------------------------------------------------------------------------- /img/firefoxos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/firefoxos.png -------------------------------------------------------------------------------- /img/focus-on-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/focus-on-app.png -------------------------------------------------------------------------------- /img/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/github.png -------------------------------------------------------------------------------- /img/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/html.png -------------------------------------------------------------------------------- /img/internet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/internet.jpg -------------------------------------------------------------------------------- /img/ionic-angular-v2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ionic-angular-v2.jpg -------------------------------------------------------------------------------- /img/ionic-creator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ionic-creator.png -------------------------------------------------------------------------------- /img/ionic-logo-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ionic-logo-landscape.png -------------------------------------------------------------------------------- /img/ionic-logo-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ionic-logo-portrait.png -------------------------------------------------------------------------------- /img/ionic-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ionic-logo.png -------------------------------------------------------------------------------- /img/ionic-logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 11 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /img/ionic-push.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ionic-push.png -------------------------------------------------------------------------------- /img/ionic-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ionic-view.png -------------------------------------------------------------------------------- /img/ionicio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ionicio.png -------------------------------------------------------------------------------- /img/ionicons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ionicons.png -------------------------------------------------------------------------------- /img/ionitron-twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ionitron-twitter.png -------------------------------------------------------------------------------- /img/ionitron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ionitron.png -------------------------------------------------------------------------------- /img/ios8-adoption.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ios8-adoption.png -------------------------------------------------------------------------------- /img/ios9adoption1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ios9adoption1.png -------------------------------------------------------------------------------- /img/ios9adoption2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ios9adoption2.png -------------------------------------------------------------------------------- /img/js.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/js.png -------------------------------------------------------------------------------- /img/madison.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/madison.jpg -------------------------------------------------------------------------------- /img/marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/marker.png -------------------------------------------------------------------------------- /img/market.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/market.png -------------------------------------------------------------------------------- /img/me.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/me.jpg -------------------------------------------------------------------------------- /img/me.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/me.png -------------------------------------------------------------------------------- /img/native-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/native-icon.png -------------------------------------------------------------------------------- /img/native-sdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/native-sdk.png -------------------------------------------------------------------------------- /img/ng-cordova.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/ng-cordova.png -------------------------------------------------------------------------------- /img/oldphones.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/oldphones.jpg -------------------------------------------------------------------------------- /img/performance-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/performance-icon.png -------------------------------------------------------------------------------- /img/perry.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/perry.jpg -------------------------------------------------------------------------------- /img/phones-stacked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/phones-stacked.png -------------------------------------------------------------------------------- /img/platform-continuity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/platform-continuity.png -------------------------------------------------------------------------------- /img/providence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/providence.png -------------------------------------------------------------------------------- /img/safari.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/safari.png -------------------------------------------------------------------------------- /img/sass-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/sass-icon.png -------------------------------------------------------------------------------- /img/sass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/sass.png -------------------------------------------------------------------------------- /img/showcase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/showcase.png -------------------------------------------------------------------------------- /img/superpower.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/superpower.jpg -------------------------------------------------------------------------------- /img/times-changin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/times-changin.png -------------------------------------------------------------------------------- /img/trends.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/trends.png -------------------------------------------------------------------------------- /img/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/twitter.png -------------------------------------------------------------------------------- /img/typescript-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/typescript-bg.png -------------------------------------------------------------------------------- /img/v1rc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/v1rc.png -------------------------------------------------------------------------------- /img/web-browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/web-browser.png -------------------------------------------------------------------------------- /img/web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/web.png -------------------------------------------------------------------------------- /img/websdk-ionic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/websdk-ionic.png -------------------------------------------------------------------------------- /img/websdk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/websdk.png -------------------------------------------------------------------------------- /img/windows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/img/windows.png -------------------------------------------------------------------------------- /ionic/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/ionic/fonts/ionicons.eot -------------------------------------------------------------------------------- /ionic/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/ionic/fonts/ionicons.ttf -------------------------------------------------------------------------------- /ionic/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/ionic/fonts/ionicons.woff -------------------------------------------------------------------------------- /ionic/js/angular/angular-resource.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | AngularJS v1.4.3 3 | (c) 2010-2015 Google, Inc. http://angularjs.org 4 | License: MIT 5 | */ 6 | (function(I,d,B){'use strict';function D(f,q){q=q||{};d.forEach(q,function(d,h){delete q[h]});for(var h in f)!f.hasOwnProperty(h)||"$"===h.charAt(0)&&"$"===h.charAt(1)||(q[h]=f[h]);return q}var x=d.$$minErr("$resource"),C=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;d.module("ngResource",["ng"]).provider("$resource",function(){var f=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}}; 7 | this.$get=["$http","$q",function(q,h){function u(d,g){this.template=d;this.defaults=s({},f.defaults,g);this.urlParams={}}function w(y,g,l,m){function c(b,k){var c={};k=s({},g,k);r(k,function(a,k){v(a)&&(a=a());var d;if(a&&a.charAt&&"@"==a.charAt(0)){d=b;var e=a.substr(1);if(null==e||""===e||"hasOwnProperty"===e||!C.test("."+e))throw x("badmember",e);for(var e=e.split("."),n=0,g=e.length;n=c;d--)f.end&&f.end(e[d]);e.length=c}}"string"!==typeof a&&(a=null===a||"undefined"===typeof a?"":""+a);var b,k,e=[],m=a,l;for(e.last=function(){return e[e.length-1]};a;){l="";k=!0;if(e.last()&&w[e.last()])a=a.replace(new RegExp("([\\W\\w]*)<\\s*\\/\\s*"+e.last()+"[^>]*>","i"),function(a,b){b=b.replace(H,"$1").replace(I,"$1");f.chars&&f.chars(q(b));return""}),c("",e.last());else{if(0===a.indexOf("\x3c!--"))b=a.indexOf("--",4),0<=b&&a.lastIndexOf("--\x3e", 8 | b)===b&&(f.comment&&f.comment(a.substring(4,b)),a=a.substring(b+3),k=!1);else if(x.test(a)){if(b=a.match(x))a=a.replace(b[0],""),k=!1}else if(J.test(a)){if(b=a.match(y))a=a.substring(b[0].length),b[0].replace(y,c),k=!1}else K.test(a)&&((b=a.match(z))?(b[4]&&(a=a.substring(b[0].length),b[0].replace(z,d)),k=!1):(l+="<",a=a.substring(1)));k&&(b=a.indexOf("<"),l+=0>b?a:a.substring(0,b),a=0>b?"":a.substring(b),f.chars&&f.chars(q(l)))}if(a==m)throw L("badparse",a);m=a}c()}function q(a){if(!a)return"";A.innerHTML= 9 | a.replace(//g,">")}function r(a,f){var d=!1,c=h.bind(a,a.push);return{start:function(a,k,e){a=h.lowercase(a);!d&&w[a]&&(d=a);d||!0!==C[a]||(c("<"),c(a),h.forEach(k,function(d,e){var k=h.lowercase(e),g="img"===a&&"src"===k|| 10 | "background"===k;!0!==O[k]||!0===D[k]&&!f(d,g)||(c(" "),c(e),c('="'),c(B(d)),c('"'))}),c(e?"/>":">"))},end:function(a){a=h.lowercase(a);d||!0!==C[a]||(c(""));a==d&&(d=!1)},chars:function(a){d||c(B(a))}}}var L=h.$$minErr("$sanitize"),z=/^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/,y=/^<\/\s*([\w:-]+)[^>]*>/,G=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,K=/^]*?)>/i, 11 | I=/"\u201d\u2019]/i,d=/^mailto:/i;return function(c,b){function k(a){a&&g.push(E(a))}function e(a, 15 | c){g.push("');k(c);g.push("")}if(!c)return c;for(var m,l=c,g=[],n,p;m=l.match(f);)n=m[0],m[2]||m[4]||(n=(m[3]?"http://":"mailto:")+n),p=m.index,k(l.substr(0,p)),e(n,m[0].replace(d,"")),l=l.substring(p+m[0].length);k(l);return a(g.join(""))}}])})(window,window.angular); 16 | //# sourceMappingURL=angular-sanitize.min.js.map 17 | -------------------------------------------------------------------------------- /ionic/version.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.0-beta.14", 3 | "codename": "magnesium-mongoose", 4 | "date": "2015-03-04", 5 | "time": "22:30:48" 6 | } 7 | -------------------------------------------------------------------------------- /lib/css/atom-one-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | One-dark by Atom 3 | https://github.com/atom/one-dark-syntax 4 | https://atom.io/ 5 | Highlight.js port by MegaXLR 6 | https://github.com/megaxlr/Highlight.js-One-Dark 7 | http://megaxlr.net/ 8 | Base theme Railcasts by 9 | Railscasts-like style (c) Visoft, Inc. (Damien White) 10 | http://visoftinc.com/ (I hope that is the right URL, didn't really check :-/) 11 | */ 12 | @import url(https://fonts.googleapis.com/css?family=Inconsolata); 13 | .hljs { 14 | display: block; 15 | overflow-x: auto; 16 | padding: 0.5em; 17 | background: #282c34; 18 | color: #abb2bf; 19 | font-family: "Inconsolata"; 20 | font-size: 1.1em; 21 | font-weight: bold; 22 | } 23 | .hljs > *::selection { 24 | background-color: #3e4451; 25 | } 26 | .hljs-comment { 27 | color: #5c6370; 28 | font-style: italic; 29 | } 30 | 31 | .hljs-selector-tag { 32 | color: #e06c75; 33 | } 34 | 35 | .hljs-string { 36 | color: #98c379; 37 | } 38 | .hljs-number, 39 | .hljs-regexp, 40 | .hljs-variable, 41 | .hljs-template-variable { 42 | color: #d19a66; 43 | } 44 | 45 | .hljs-subst { 46 | color: #519f50; 47 | } 48 | .hljs-keyword { 49 | color: #c678dd; 50 | } 51 | .hljs-function > .hljs-title { 52 | color: #61afef; 53 | } 54 | .hljs-tag { 55 | color: #abb2bf; 56 | } 57 | .hljs-name { 58 | color: #e06c75; 59 | } 60 | .hljs-type { 61 | color: #da4939; 62 | } 63 | 64 | .hljs-attr { 65 | color: #d19a66; 66 | } 67 | .hljs-symbol, 68 | .hljs-bullet, 69 | .hljs-built_in, 70 | .hljs-builtin-name, 71 | .hljs-link { 72 | color: #6d9cbe; 73 | } 74 | 75 | .hljs-params { 76 | color: #d0d0ff; 77 | } 78 | 79 | 80 | .hljs-meta { 81 | color: #; 82 | } 83 | 84 | .hljs-title, 85 | .hljs-section { 86 | color: #ffc66d; 87 | } 88 | 89 | .hljs-addition { 90 | background-color: #144212; 91 | color: #e6e1dc; 92 | display: inline-block; 93 | width: 100%; 94 | } 95 | 96 | .hljs-deletion { 97 | background-color: #600; 98 | color: #e6e1dc; 99 | display: inline-block; 100 | width: 100%; 101 | } 102 | 103 | .hljs-selector-class { 104 | color: #9b703f; 105 | } 106 | 107 | .hljs-selector-id { 108 | color: #8b98ab; 109 | } 110 | 111 | .hljs-emphasis { 112 | font-style: italic; 113 | } 114 | 115 | .hljs-strong { 116 | font-weight: bold; 117 | } 118 | 119 | .hljs-link { 120 | text-decoration: underline; 121 | } 122 | -------------------------------------------------------------------------------- /lib/font/league-gothic/LICENSE: -------------------------------------------------------------------------------- 1 | SIL Open Font License (OFL) 2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'League Gothic'; 3 | src: url('league-gothic.eot'); 4 | src: url('league-gothic.eot?#iefix') format('embedded-opentype'), 5 | url('league-gothic.woff') format('woff'), 6 | url('league-gothic.ttf') format('truetype'); 7 | 8 | font-weight: normal; 9 | font-style: normal; 10 | } -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/league-gothic/league-gothic.eot -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/league-gothic/league-gothic.ttf -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/league-gothic/league-gothic.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/LICENSE: -------------------------------------------------------------------------------- 1 | SIL Open Font License 2 | 3 | Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name ‘Source’. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. 4 | 5 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 6 | This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL 7 | 8 | —————————————————————————————- 9 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 10 | —————————————————————————————- 11 | 12 | PREAMBLE 13 | The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. 14 | 15 | The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. 16 | 17 | DEFINITIONS 18 | “Font Software” refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. 19 | 20 | “Reserved Font Name” refers to any names specified as such after the copyright statement(s). 21 | 22 | “Original Version” refers to the collection of Font Software components as distributed by the Copyright Holder(s). 23 | 24 | “Modified Version” refers to any derivative made by adding to, deleting, or substituting—in part or in whole—any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. 25 | 26 | “Author” refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. 27 | 28 | PERMISSION & CONDITIONS 29 | Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: 30 | 31 | 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. 32 | 33 | 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. 34 | 35 | 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. 36 | 37 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. 38 | 39 | 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. 40 | 41 | TERMINATION 42 | This license becomes null and void if any of the above conditions are not met. 43 | 44 | DISCLAIMER 45 | THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-italic.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-italic.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-italic.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-regular.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-regular.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-regular.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-semibold.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-semibold.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-semibold.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Source Sans Pro'; 3 | src: url('source-sans-pro-regular.eot'); 4 | src: url('source-sans-pro-regular.eot?#iefix') format('embedded-opentype'), 5 | url('source-sans-pro-regular.woff') format('woff'), 6 | url('source-sans-pro-regular.ttf') format('truetype'); 7 | font-weight: normal; 8 | font-style: normal; 9 | } 10 | 11 | @font-face { 12 | font-family: 'Source Sans Pro'; 13 | src: url('source-sans-pro-italic.eot'); 14 | src: url('source-sans-pro-italic.eot?#iefix') format('embedded-opentype'), 15 | url('source-sans-pro-italic.woff') format('woff'), 16 | url('source-sans-pro-italic.ttf') format('truetype'); 17 | font-weight: normal; 18 | font-style: italic; 19 | } 20 | 21 | @font-face { 22 | font-family: 'Source Sans Pro'; 23 | src: url('source-sans-pro-semibold.eot'); 24 | src: url('source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'), 25 | url('source-sans-pro-semibold.woff') format('woff'), 26 | url('source-sans-pro-semibold.ttf') format('truetype'); 27 | font-weight: 600; 28 | font-style: normal; 29 | } 30 | 31 | @font-face { 32 | font-family: 'Source Sans Pro'; 33 | src: url('source-sans-pro-semibolditalic.eot'); 34 | src: url('source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'), 35 | url('source-sans-pro-semibolditalic.woff') format('woff'), 36 | url('source-sans-pro-semibolditalic.ttf') format('truetype'); 37 | font-weight: 600; 38 | font-style: italic; 39 | } -------------------------------------------------------------------------------- /lib/js/classList.js: -------------------------------------------------------------------------------- 1 | /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js*/ 2 | if(typeof document!=="undefined"&&!("classList" in document.createElement("a"))){(function(j){var a="classList",f="prototype",m=(j.HTMLElement||j.Element)[f],b=Object,k=String[f].trim||function(){return this.replace(/^\s+|\s+$/g,"")},c=Array[f].indexOf||function(q){var p=0,o=this.length;for(;p 3 | Copyright Tero Piirainen (tipiirai) 4 | License MIT / http://bit.ly/mit-license 5 | Version 0.96 6 | 7 | http://headjs.com 8 | */(function(a){function z(){d||(d=!0,s(e,function(a){p(a)}))}function y(c,d){var e=a.createElement("script");e.type="text/"+(c.type||"javascript"),e.src=c.src||c,e.async=!1,e.onreadystatechange=e.onload=function(){var a=e.readyState;!d.done&&(!a||/loaded|complete/.test(a))&&(d.done=!0,d())},(a.body||b).appendChild(e)}function x(a,b){if(a.state==o)return b&&b();if(a.state==n)return k.ready(a.name,b);if(a.state==m)return a.onpreload.push(function(){x(a,b)});a.state=n,y(a.url,function(){a.state=o,b&&b(),s(g[a.name],function(a){p(a)}),u()&&d&&s(g.ALL,function(a){p(a)})})}function w(a,b){a.state===undefined&&(a.state=m,a.onpreload=[],y({src:a.url,type:"cache"},function(){v(a)}))}function v(a){a.state=l,s(a.onpreload,function(a){a.call()})}function u(a){a=a||h;var b;for(var c in a){if(a.hasOwnProperty(c)&&a[c].state!=o)return!1;b=!0}return b}function t(a){return Object.prototype.toString.call(a)=="[object Function]"}function s(a,b){if(!!a){typeof a=="object"&&(a=[].slice.call(a));for(var c=0;c 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Markdown Demo 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 |
20 | 21 | 22 |
23 | 24 | 25 |
26 | 36 |
37 | 38 | 39 |
40 | 54 |
55 | 56 | 57 |
58 | 69 |
70 | 71 | 72 |
73 | 77 |
78 | 79 | 80 |
81 | 86 |
87 | 88 | 89 |
90 | 100 |
101 | 102 |
103 |
104 | 105 | 106 | 107 | 108 | 127 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /plugin/markdown/example.md: -------------------------------------------------------------------------------- 1 | # Markdown Demo 2 | 3 | 4 | 5 | ## External 1.1 6 | 7 | Content 1.1 8 | 9 | Note: This will only appear in the speaker notes window. 10 | 11 | 12 | ## External 1.2 13 | 14 | Content 1.2 15 | 16 | 17 | 18 | ## External 2 19 | 20 | Content 2.1 21 | 22 | 23 | 24 | ## External 3.1 25 | 26 | Content 3.1 27 | 28 | 29 | ## External 3.2 30 | 31 | Content 3.2 32 | -------------------------------------------------------------------------------- /plugin/math/math.js: -------------------------------------------------------------------------------- 1 | /** 2 | * A plugin which enables rendering of math equations inside 3 | * of reveal.js slides. Essentially a thin wrapper for MathJax. 4 | * 5 | * @author Hakim El Hattab 6 | */ 7 | var RevealMath = window.RevealMath || (function(){ 8 | 9 | var options = Reveal.getConfig().math || {}; 10 | options.mathjax = options.mathjax || 'http://cdn.mathjax.org/mathjax/latest/MathJax.js'; 11 | options.config = options.config || 'TeX-AMS_HTML-full'; 12 | 13 | loadScript( options.mathjax + '?config=' + options.config, function() { 14 | 15 | MathJax.Hub.Config({ 16 | messageStyle: 'none', 17 | tex2jax: { inlineMath: [['$','$'],['\\(','\\)']] }, 18 | skipStartupTypeset: true 19 | }); 20 | 21 | // Typeset followed by an immediate reveal.js layout since 22 | // the typesetting process could affect slide height 23 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub ] ); 24 | MathJax.Hub.Queue( Reveal.layout ); 25 | 26 | // Reprocess equations in slides when they turn visible 27 | Reveal.addEventListener( 'slidechanged', function( event ) { 28 | 29 | MathJax.Hub.Queue( [ 'Typeset', MathJax.Hub, event.currentSlide ] ); 30 | 31 | } ); 32 | 33 | } ); 34 | 35 | function loadScript( url, callback ) { 36 | 37 | var head = document.querySelector( 'head' ); 38 | var script = document.createElement( 'script' ); 39 | script.type = 'text/javascript'; 40 | script.src = url; 41 | 42 | // Wrapper for callback to make sure it only fires once 43 | var finish = function() { 44 | if( typeof callback === 'function' ) { 45 | callback.call(); 46 | callback = null; 47 | } 48 | } 49 | 50 | script.onload = finish; 51 | 52 | // IE 53 | script.onreadystatechange = function() { 54 | if ( this.readyState === 'loaded' ) { 55 | finish(); 56 | } 57 | } 58 | 59 | // Normal browsers 60 | head.appendChild( script ); 61 | 62 | } 63 | 64 | })(); 65 | -------------------------------------------------------------------------------- /plugin/multiplex/client.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var multiplex = Reveal.getConfig().multiplex; 3 | var socketId = multiplex.id; 4 | var socket = io.connect(multiplex.url); 5 | 6 | socket.on(multiplex.id, function(data) { 7 | // ignore data from sockets that aren't ours 8 | if (data.socketId !== socketId) { return; } 9 | if( window.location.host === 'localhost:1947' ) return; 10 | 11 | Reveal.slide(data.indexh, data.indexv, data.indexf, 'remote'); 12 | }); 13 | }()); 14 | -------------------------------------------------------------------------------- /plugin/multiplex/index.js: -------------------------------------------------------------------------------- 1 | var express = require('express'); 2 | var fs = require('fs'); 3 | var io = require('socket.io'); 4 | var crypto = require('crypto'); 5 | 6 | var app = express.createServer(); 7 | var staticDir = express.static; 8 | 9 | io = io.listen(app); 10 | 11 | var opts = { 12 | port: 1948, 13 | baseDir : __dirname + '/../../' 14 | }; 15 | 16 | io.sockets.on('connection', function(socket) { 17 | socket.on('slidechanged', function(slideData) { 18 | if (typeof slideData.secret == 'undefined' || slideData.secret == null || slideData.secret === '') return; 19 | if (createHash(slideData.secret) === slideData.socketId) { 20 | slideData.secret = null; 21 | socket.broadcast.emit(slideData.socketId, slideData); 22 | }; 23 | }); 24 | }); 25 | 26 | app.configure(function() { 27 | [ 'css', 'js', 'plugin', 'lib' ].forEach(function(dir) { 28 | app.use('/' + dir, staticDir(opts.baseDir + dir)); 29 | }); 30 | }); 31 | 32 | app.get("/", function(req, res) { 33 | res.writeHead(200, {'Content-Type': 'text/html'}); 34 | fs.createReadStream(opts.baseDir + '/index.html').pipe(res); 35 | }); 36 | 37 | app.get("/token", function(req,res) { 38 | var ts = new Date().getTime(); 39 | var rand = Math.floor(Math.random()*9999999); 40 | var secret = ts.toString() + rand.toString(); 41 | res.send({secret: secret, socketId: createHash(secret)}); 42 | }); 43 | 44 | var createHash = function(secret) { 45 | var cipher = crypto.createCipher('blowfish', secret); 46 | return(cipher.final('hex')); 47 | }; 48 | 49 | // Actually listen 50 | app.listen(opts.port || null); 51 | 52 | var brown = '\033[33m', 53 | green = '\033[32m', 54 | reset = '\033[0m'; 55 | 56 | console.log( brown + "reveal.js:" + reset + " Multiplex running on port " + green + opts.port + reset ); -------------------------------------------------------------------------------- /plugin/multiplex/master.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | // Don't emit events from inside of notes windows 3 | if ( window.location.search.match( /receiver/gi ) ) { return; } 4 | 5 | var multiplex = Reveal.getConfig().multiplex; 6 | 7 | var socket = io.connect(multiplex.url); 8 | 9 | var notify = function( slideElement, indexh, indexv, origin ) { 10 | if( typeof origin === 'undefined' && origin !== 'remote' ) { 11 | var nextindexh; 12 | var nextindexv; 13 | 14 | var fragmentindex = Reveal.getIndices().f; 15 | if (typeof fragmentindex == 'undefined') { 16 | fragmentindex = 0; 17 | } 18 | 19 | if (slideElement.nextElementSibling && slideElement.parentNode.nodeName == 'SECTION') { 20 | nextindexh = indexh; 21 | nextindexv = indexv + 1; 22 | } else { 23 | nextindexh = indexh + 1; 24 | nextindexv = 0; 25 | } 26 | 27 | var slideData = { 28 | indexh : indexh, 29 | indexv : indexv, 30 | indexf : fragmentindex, 31 | nextindexh : nextindexh, 32 | nextindexv : nextindexv, 33 | secret: multiplex.secret, 34 | socketId : multiplex.id 35 | }; 36 | 37 | socket.emit('slidechanged', slideData); 38 | } 39 | } 40 | 41 | Reveal.addEventListener( 'slidechanged', function( event ) { 42 | notify( event.currentSlide, event.indexh, event.indexv, event.origin ); 43 | } ); 44 | 45 | var fragmentNotify = function( event ) { 46 | notify( Reveal.getCurrentSlide(), Reveal.getIndices().h, Reveal.getIndices().v, event.origin ); 47 | }; 48 | 49 | Reveal.addEventListener( 'fragmentshown', fragmentNotify ); 50 | Reveal.addEventListener( 'fragmenthidden', fragmentNotify ); 51 | }()); -------------------------------------------------------------------------------- /plugin/notes-server/client.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 3 | // don't emit events from inside the previews themselves 4 | if( window.location.search.match( /receiver/gi ) ) { return; } 5 | 6 | var socket = io.connect( window.location.origin ), 7 | socketId = Math.random().toString().slice( 2 ); 8 | 9 | console.log( 'View slide notes at ' + window.location.origin + '/notes/' + socketId ); 10 | 11 | window.open( window.location.origin + '/notes/' + socketId, 'notes-' + socketId ); 12 | 13 | /** 14 | * Posts the current slide data to the notes window 15 | */ 16 | function post() { 17 | 18 | var slideElement = Reveal.getCurrentSlide(), 19 | notesElement = slideElement.querySelector( 'aside.notes' ); 20 | 21 | var messageData = { 22 | notes: '', 23 | markdown: false, 24 | socketId: socketId, 25 | state: Reveal.getState() 26 | }; 27 | 28 | // Look for notes defined in a slide attribute 29 | if( slideElement.hasAttribute( 'data-notes' ) ) { 30 | messageData.notes = slideElement.getAttribute( 'data-notes' ); 31 | } 32 | 33 | // Look for notes defined in an aside element 34 | if( notesElement ) { 35 | messageData.notes = notesElement.innerHTML; 36 | messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string'; 37 | } 38 | 39 | socket.emit( 'statechanged', messageData ); 40 | 41 | } 42 | 43 | // When a new notes window connects, post our current state 44 | socket.on( 'connect', function( data ) { 45 | post(); 46 | } ); 47 | 48 | // Monitor events that trigger a change in state 49 | Reveal.addEventListener( 'slidechanged', post ); 50 | Reveal.addEventListener( 'fragmentshown', post ); 51 | Reveal.addEventListener( 'fragmenthidden', post ); 52 | Reveal.addEventListener( 'overviewhidden', post ); 53 | Reveal.addEventListener( 'overviewshown', post ); 54 | Reveal.addEventListener( 'paused', post ); 55 | Reveal.addEventListener( 'resumed', post ); 56 | 57 | // Post the initial state 58 | post(); 59 | 60 | }()); 61 | -------------------------------------------------------------------------------- /plugin/notes-server/index.js: -------------------------------------------------------------------------------- 1 | var express = require('express'); 2 | var fs = require('fs'); 3 | var io = require('socket.io'); 4 | var _ = require('underscore'); 5 | var Mustache = require('mustache'); 6 | 7 | var app = express.createServer(); 8 | var staticDir = express.static; 9 | 10 | io = io.listen(app); 11 | 12 | var opts = { 13 | port : 1947, 14 | baseDir : __dirname + '/../../' 15 | }; 16 | 17 | io.sockets.on( 'connection', function( socket ) { 18 | 19 | socket.on( 'connect', function( data ) { 20 | socket.broadcast.emit( 'connect', data ); 21 | }); 22 | 23 | socket.on( 'statechanged', function( data ) { 24 | socket.broadcast.emit( 'statechanged', data ); 25 | }); 26 | 27 | }); 28 | 29 | app.configure( function() { 30 | 31 | [ 'css', 'js', 'images', 'plugin', 'lib' ].forEach( function( dir ) { 32 | app.use( '/' + dir, staticDir( opts.baseDir + dir ) ); 33 | }); 34 | 35 | }); 36 | 37 | app.get('/', function( req, res ) { 38 | 39 | res.writeHead( 200, { 'Content-Type': 'text/html' } ); 40 | fs.createReadStream( opts.baseDir + '/index.html' ).pipe( res ); 41 | 42 | }); 43 | 44 | app.get( '/notes/:socketId', function( req, res ) { 45 | 46 | fs.readFile( opts.baseDir + 'plugin/notes-server/notes.html', function( err, data ) { 47 | res.send( Mustache.to_html( data.toString(), { 48 | socketId : req.params.socketId 49 | })); 50 | }); 51 | 52 | }); 53 | 54 | // Actually listen 55 | app.listen( opts.port || null ); 56 | 57 | var brown = '\033[33m', 58 | green = '\033[32m', 59 | reset = '\033[0m'; 60 | 61 | var slidesLocation = 'http://localhost' + ( opts.port ? ( ':' + opts.port ) : '' ); 62 | 63 | console.log( brown + 'reveal.js - Speaker Notes' + reset ); 64 | console.log( '1. Open the slides at ' + green + slidesLocation + reset ); 65 | console.log( '2. Click on the link your JS console to go to the notes page' ); 66 | console.log( '3. Advance through your slides and your notes will advance automatically' ); 67 | -------------------------------------------------------------------------------- /plugin/notes-server/notes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | reveal.js - Slide Notes 7 | 8 | 150 | 151 | 152 | 153 | 154 |
155 |
UPCOMING:
156 |
157 |
158 |

Time Click to Reset

159 |
160 | 0:00 AM 161 |
162 |
163 | 00:00:00 164 |
165 |
166 |
167 | 168 | 172 |
173 | 174 | 175 | 176 | 177 | 394 | 395 | 396 | 397 | -------------------------------------------------------------------------------- /plugin/notes/notes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | reveal.js - Slide Notes 7 | 8 | 151 | 152 | 153 | 154 | 155 |
156 |
UPCOMING:
157 |
158 |
159 |

Time Click to Reset

160 |
161 | 0:00 AM 162 |
163 |
164 | 00:00:00 165 |
166 |
167 |
168 | 169 | 173 |
174 | 175 | 176 | 405 | 406 | 407 | -------------------------------------------------------------------------------- /plugin/notes/notes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Handles opening of and synchronization with the reveal.js 3 | * notes window. 4 | * 5 | * Handshake process: 6 | * 1. This window posts 'connect' to notes window 7 | * - Includes URL of presentation to show 8 | * 2. Notes window responds with 'connected' when it is available 9 | * 3. This window proceeds to send the current presentation state 10 | * to the notes window 11 | */ 12 | var RevealNotes = (function() { 13 | 14 | function openNotes() { 15 | var jsFileLocation = document.querySelector('script[src$="notes.js"]').src; // this js file path 16 | jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, ''); // the js folder path 17 | var notesPopup = window.open( jsFileLocation + 'notes.html', 'reveal.js - Notes', 'width=1100,height=700' ); 18 | 19 | /** 20 | * Connect to the notes window through a postmessage handshake. 21 | * Using postmessage enables us to work in situations where the 22 | * origins differ, such as a presentation being opened from the 23 | * file system. 24 | */ 25 | function connect() { 26 | // Keep trying to connect until we get a 'connected' message back 27 | var connectInterval = setInterval( function() { 28 | notesPopup.postMessage( JSON.stringify( { 29 | namespace: 'reveal-notes', 30 | type: 'connect', 31 | url: window.location.protocol + '//' + window.location.host + window.location.pathname, 32 | state: Reveal.getState() 33 | } ), '*' ); 34 | }, 500 ); 35 | 36 | window.addEventListener( 'message', function( event ) { 37 | var data = JSON.parse( event.data ); 38 | if( data && data.namespace === 'reveal-notes' && data.type === 'connected' ) { 39 | clearInterval( connectInterval ); 40 | onConnected(); 41 | } 42 | } ); 43 | } 44 | 45 | /** 46 | * Posts the current slide data to the notes window 47 | */ 48 | function post() { 49 | 50 | var slideElement = Reveal.getCurrentSlide(), 51 | notesElement = slideElement.querySelector( 'aside.notes' ); 52 | 53 | var messageData = { 54 | namespace: 'reveal-notes', 55 | type: 'state', 56 | notes: '', 57 | markdown: false, 58 | state: Reveal.getState() 59 | }; 60 | 61 | // Look for notes defined in a slide attribute 62 | if( slideElement.hasAttribute( 'data-notes' ) ) { 63 | messageData.notes = slideElement.getAttribute( 'data-notes' ); 64 | } 65 | 66 | // Look for notes defined in an aside element 67 | if( notesElement ) { 68 | messageData.notes = notesElement.innerHTML; 69 | messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string'; 70 | } 71 | 72 | notesPopup.postMessage( JSON.stringify( messageData ), '*' ); 73 | 74 | } 75 | 76 | /** 77 | * Called once we have established a connection to the notes 78 | * window. 79 | */ 80 | function onConnected() { 81 | 82 | // Monitor events that trigger a change in state 83 | Reveal.addEventListener( 'slidechanged', post ); 84 | Reveal.addEventListener( 'fragmentshown', post ); 85 | Reveal.addEventListener( 'fragmenthidden', post ); 86 | Reveal.addEventListener( 'overviewhidden', post ); 87 | Reveal.addEventListener( 'overviewshown', post ); 88 | Reveal.addEventListener( 'paused', post ); 89 | Reveal.addEventListener( 'resumed', post ); 90 | 91 | // Post the initial state 92 | post(); 93 | 94 | } 95 | 96 | connect(); 97 | } 98 | 99 | if( !/receiver/i.test( window.location.search ) ) { 100 | 101 | // If the there's a 'notes' query set, open directly 102 | if( window.location.search.match( /(\?|\&)notes/gi ) !== null ) { 103 | openNotes(); 104 | } 105 | 106 | // Open the notes when the 's' key is hit 107 | document.addEventListener( 'keydown', function( event ) { 108 | // Disregard the event if the target is editable or a 109 | // modifier is present 110 | if ( document.querySelector( ':focus' ) !== null || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return; 111 | 112 | if( event.keyCode === 83 ) { 113 | event.preventDefault(); 114 | openNotes(); 115 | } 116 | }, false ); 117 | 118 | } 119 | 120 | return { open: openNotes }; 121 | 122 | })(); 123 | -------------------------------------------------------------------------------- /plugin/print-pdf/print-pdf.js: -------------------------------------------------------------------------------- 1 | /** 2 | * phantomjs script for printing presentations to PDF. 3 | * 4 | * Example: 5 | * phantomjs print-pdf.js "http://lab.hakim.se/reveal-js?print-pdf" reveal-demo.pdf 6 | * 7 | * By Manuel Bieh (https://github.com/manuelbieh) 8 | */ 9 | 10 | // html2pdf.js 11 | var page = new WebPage(); 12 | var system = require( 'system' ); 13 | 14 | var slideWidth = system.args[3] ? system.args[3].split( 'x' )[0] : 960; 15 | var slideHeight = system.args[3] ? system.args[3].split( 'x' )[1] : 700; 16 | 17 | page.viewportSize = { 18 | width: slideWidth, 19 | height: slideHeight 20 | }; 21 | 22 | // TODO 23 | // Something is wrong with these config values. An input 24 | // paper width of 1920px actually results in a 756px wide 25 | // PDF. 26 | page.paperSize = { 27 | width: Math.round( slideWidth * 2 ), 28 | height: Math.round( slideHeight * 2 ), 29 | border: 0 30 | }; 31 | 32 | var inputFile = system.args[1] || 'index.html?print-pdf'; 33 | var outputFile = system.args[2] || 'slides.pdf'; 34 | 35 | if( outputFile.match( /\.pdf$/gi ) === null ) { 36 | outputFile += '.pdf'; 37 | } 38 | 39 | console.log( 'Printing PDF (Paper size: '+ page.paperSize.width + 'x' + page.paperSize.height +')' ); 40 | 41 | page.open( inputFile, function( status ) { 42 | window.setTimeout( function() { 43 | console.log( 'Printed succesfully' ); 44 | page.render( outputFile ); 45 | phantom.exit(); 46 | }, 1000 ); 47 | } ); 48 | 49 | -------------------------------------------------------------------------------- /plugin/remotes/remotes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Touch-based remote controller for your presentation courtesy 3 | * of the folks at http://remotes.io 4 | */ 5 | 6 | (function(window){ 7 | 8 | /** 9 | * Detects if we are dealing with a touch enabled device (with some false positives) 10 | * Borrowed from modernizr: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touch.js 11 | */ 12 | var hasTouch = (function(){ 13 | return ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch; 14 | })(); 15 | 16 | /** 17 | * Detects if notes are enable and the current page is opened inside an /iframe 18 | * this prevents loading Remotes.io several times 19 | */ 20 | var isNotesAndIframe = (function(){ 21 | return window.RevealNotes && !(self == top); 22 | })(); 23 | 24 | if(!hasTouch && !isNotesAndIframe){ 25 | head.ready( 'remotes.ne.min.js', function() { 26 | new Remotes("preview") 27 | .on("swipe-left", function(e){ Reveal.right(); }) 28 | .on("swipe-right", function(e){ Reveal.left(); }) 29 | .on("swipe-up", function(e){ Reveal.down(); }) 30 | .on("swipe-down", function(e){ Reveal.up(); }) 31 | .on("tap", function(e){ Reveal.next(); }) 32 | .on("zoom-out", function(e){ Reveal.toggleOverview(true); }) 33 | .on("zoom-in", function(e){ Reveal.toggleOverview(false); }) 34 | ; 35 | } ); 36 | 37 | head.js('https://hakim-static.s3.amazonaws.com/reveal-js/remotes.ne.min.js'); 38 | } 39 | })(window); -------------------------------------------------------------------------------- /plugin/search/search.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Handles finding a text string anywhere in the slides and showing the next occurrence to the user 3 | * by navigatating to that slide and highlighting it. 4 | * 5 | * By Jon Snyder , February 2013 6 | */ 7 | 8 | var RevealSearch = (function() { 9 | 10 | var matchedSlides; 11 | var currentMatchedIndex; 12 | var searchboxDirty; 13 | var myHilitor; 14 | 15 | // Original JavaScript code by Chirp Internet: www.chirp.com.au 16 | // Please acknowledge use of this code by including this header. 17 | // 2/2013 jon: modified regex to display any match, not restricted to word boundaries. 18 | 19 | function Hilitor(id, tag) 20 | { 21 | 22 | var targetNode = document.getElementById(id) || document.body; 23 | var hiliteTag = tag || "EM"; 24 | var skipTags = new RegExp("^(?:" + hiliteTag + "|SCRIPT|FORM|SPAN)$"); 25 | var colors = ["#ff6", "#a0ffff", "#9f9", "#f99", "#f6f"]; 26 | var wordColor = []; 27 | var colorIdx = 0; 28 | var matchRegex = ""; 29 | var matchingSlides = []; 30 | 31 | this.setRegex = function(input) 32 | { 33 | input = input.replace(/^[^\w]+|[^\w]+$/g, "").replace(/[^\w'-]+/g, "|"); 34 | matchRegex = new RegExp("(" + input + ")","i"); 35 | } 36 | 37 | this.getRegex = function() 38 | { 39 | return matchRegex.toString().replace(/^\/\\b\(|\)\\b\/i$/g, "").replace(/\|/g, " "); 40 | } 41 | 42 | // recursively apply word highlighting 43 | this.hiliteWords = function(node) 44 | { 45 | if(node == undefined || !node) return; 46 | if(!matchRegex) return; 47 | if(skipTags.test(node.nodeName)) return; 48 | 49 | if(node.hasChildNodes()) { 50 | for(var i=0; i < node.childNodes.length; i++) 51 | this.hiliteWords(node.childNodes[i]); 52 | } 53 | if(node.nodeType == 3) { // NODE_TEXT 54 | if((nv = node.nodeValue) && (regs = matchRegex.exec(nv))) { 55 | //find the slide's section element and save it in our list of matching slides 56 | var secnode = node.parentNode; 57 | while (secnode.nodeName != 'SECTION') { 58 | secnode = secnode.parentNode; 59 | } 60 | 61 | var slideIndex = Reveal.getIndices(secnode); 62 | var slidelen = matchingSlides.length; 63 | var alreadyAdded = false; 64 | for (var i=0; i < slidelen; i++) { 65 | if ( (matchingSlides[i].h === slideIndex.h) && (matchingSlides[i].v === slideIndex.v) ) { 66 | alreadyAdded = true; 67 | } 68 | } 69 | if (! alreadyAdded) { 70 | matchingSlides.push(slideIndex); 71 | } 72 | 73 | if(!wordColor[regs[0].toLowerCase()]) { 74 | wordColor[regs[0].toLowerCase()] = colors[colorIdx++ % colors.length]; 75 | } 76 | 77 | var match = document.createElement(hiliteTag); 78 | match.appendChild(document.createTextNode(regs[0])); 79 | match.style.backgroundColor = wordColor[regs[0].toLowerCase()]; 80 | match.style.fontStyle = "inherit"; 81 | match.style.color = "#000"; 82 | 83 | var after = node.splitText(regs.index); 84 | after.nodeValue = after.nodeValue.substring(regs[0].length); 85 | node.parentNode.insertBefore(match, after); 86 | } 87 | } 88 | }; 89 | 90 | // remove highlighting 91 | this.remove = function() 92 | { 93 | var arr = document.getElementsByTagName(hiliteTag); 94 | while(arr.length && (el = arr[0])) { 95 | el.parentNode.replaceChild(el.firstChild, el); 96 | } 97 | }; 98 | 99 | // start highlighting at target node 100 | this.apply = function(input) 101 | { 102 | if(input == undefined || !input) return; 103 | this.remove(); 104 | this.setRegex(input); 105 | this.hiliteWords(targetNode); 106 | return matchingSlides; 107 | }; 108 | 109 | } 110 | 111 | function openSearch() { 112 | //ensure the search term input dialog is visible and has focus: 113 | var inputbox = document.getElementById("searchinput"); 114 | inputbox.style.display = "inline"; 115 | inputbox.focus(); 116 | inputbox.select(); 117 | } 118 | 119 | function toggleSearch() { 120 | var inputbox = document.getElementById("searchinput"); 121 | if (inputbox.style.display !== "inline") { 122 | openSearch(); 123 | } 124 | else { 125 | inputbox.style.display = "none"; 126 | myHilitor.remove(); 127 | } 128 | } 129 | 130 | function doSearch() { 131 | //if there's been a change in the search term, perform a new search: 132 | if (searchboxDirty) { 133 | var searchstring = document.getElementById("searchinput").value; 134 | 135 | //find the keyword amongst the slides 136 | myHilitor = new Hilitor("slidecontent"); 137 | matchedSlides = myHilitor.apply(searchstring); 138 | currentMatchedIndex = 0; 139 | } 140 | 141 | //navigate to the next slide that has the keyword, wrapping to the first if necessary 142 | if (matchedSlides.length && (matchedSlides.length <= currentMatchedIndex)) { 143 | currentMatchedIndex = 0; 144 | } 145 | if (matchedSlides.length > currentMatchedIndex) { 146 | Reveal.slide(matchedSlides[currentMatchedIndex].h, matchedSlides[currentMatchedIndex].v); 147 | currentMatchedIndex++; 148 | } 149 | } 150 | 151 | var dom = {}; 152 | dom.wrapper = document.querySelector( '.reveal' ); 153 | 154 | if( !dom.wrapper.querySelector( '.searchbox' ) ) { 155 | var searchElement = document.createElement( 'div' ); 156 | searchElement.id = "searchinputdiv"; 157 | searchElement.classList.add( 'searchdiv' ); 158 | searchElement.style.position = 'absolute'; 159 | searchElement.style.top = '10px'; 160 | searchElement.style.left = '10px'; 161 | //embedded base64 search icon Designed by Sketchdock - http://www.sketchdock.com/: 162 | searchElement.innerHTML = ''; 163 | dom.wrapper.appendChild( searchElement ); 164 | } 165 | 166 | document.getElementById("searchbutton").addEventListener( 'click', function(event) { 167 | doSearch(); 168 | }, false ); 169 | 170 | document.getElementById("searchinput").addEventListener( 'keyup', function( event ) { 171 | switch (event.keyCode) { 172 | case 13: 173 | event.preventDefault(); 174 | doSearch(); 175 | searchboxDirty = false; 176 | break; 177 | default: 178 | searchboxDirty = true; 179 | } 180 | }, false ); 181 | 182 | // Open the search when the 's' key is hit (yes, this conflicts with the notes plugin, disabling for now) 183 | /* 184 | document.addEventListener( 'keydown', function( event ) { 185 | // Disregard the event if the target is editable or a 186 | // modifier is present 187 | if ( document.querySelector( ':focus' ) !== null || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return; 188 | 189 | if( event.keyCode === 83 ) { 190 | event.preventDefault(); 191 | openSearch(); 192 | } 193 | }, false ); 194 | */ 195 | return { open: openSearch }; 196 | })(); 197 | -------------------------------------------------------------------------------- /plugin/zoom-js/zoom.js: -------------------------------------------------------------------------------- 1 | // Custom reveal.js integration 2 | (function(){ 3 | var isEnabled = true; 4 | 5 | document.querySelector( '.reveal' ).addEventListener( 'mousedown', function( event ) { 6 | var modifier = ( Reveal.getConfig().zoomKey ? Reveal.getConfig().zoomKey : 'alt' ) + 'Key'; 7 | 8 | var zoomPadding = 20; 9 | var revealScale = Reveal.getScale(); 10 | 11 | if( event[ modifier ] && isEnabled ) { 12 | event.preventDefault(); 13 | 14 | var bounds = event.target.getBoundingClientRect(); 15 | 16 | zoom.to({ 17 | x: ( bounds.left * revealScale ) - zoomPadding, 18 | y: ( bounds.top * revealScale ) - zoomPadding, 19 | width: ( bounds.width * revealScale ) + ( zoomPadding * 2 ), 20 | height: ( bounds.height * revealScale ) + ( zoomPadding * 2 ), 21 | pan: false 22 | }); 23 | } 24 | } ); 25 | 26 | Reveal.addEventListener( 'overviewshown', function() { isEnabled = false; } ); 27 | Reveal.addEventListener( 'overviewhidden', function() { isEnabled = true; } ); 28 | })(); 29 | 30 | /*! 31 | * zoom.js 0.3 (modified for use with reveal.js) 32 | * http://lab.hakim.se/zoom-js 33 | * MIT licensed 34 | * 35 | * Copyright (C) 2011-2014 Hakim El Hattab, http://hakim.se 36 | */ 37 | var zoom = (function(){ 38 | 39 | // The current zoom level (scale) 40 | var level = 1; 41 | 42 | // The current mouse position, used for panning 43 | var mouseX = 0, 44 | mouseY = 0; 45 | 46 | // Timeout before pan is activated 47 | var panEngageTimeout = -1, 48 | panUpdateInterval = -1; 49 | 50 | // Check for transform support so that we can fallback otherwise 51 | var supportsTransforms = 'WebkitTransform' in document.body.style || 52 | 'MozTransform' in document.body.style || 53 | 'msTransform' in document.body.style || 54 | 'OTransform' in document.body.style || 55 | 'transform' in document.body.style; 56 | 57 | if( supportsTransforms ) { 58 | // The easing that will be applied when we zoom in/out 59 | document.body.style.transition = 'transform 0.8s ease'; 60 | document.body.style.OTransition = '-o-transform 0.8s ease'; 61 | document.body.style.msTransition = '-ms-transform 0.8s ease'; 62 | document.body.style.MozTransition = '-moz-transform 0.8s ease'; 63 | document.body.style.WebkitTransition = '-webkit-transform 0.8s ease'; 64 | } 65 | 66 | // Zoom out if the user hits escape 67 | document.addEventListener( 'keyup', function( event ) { 68 | if( level !== 1 && event.keyCode === 27 ) { 69 | zoom.out(); 70 | } 71 | } ); 72 | 73 | // Monitor mouse movement for panning 74 | document.addEventListener( 'mousemove', function( event ) { 75 | if( level !== 1 ) { 76 | mouseX = event.clientX; 77 | mouseY = event.clientY; 78 | } 79 | } ); 80 | 81 | /** 82 | * Applies the CSS required to zoom in, prefers the use of CSS3 83 | * transforms but falls back on zoom for IE. 84 | * 85 | * @param {Object} rect 86 | * @param {Number} scale 87 | */ 88 | function magnify( rect, scale ) { 89 | 90 | var scrollOffset = getScrollOffset(); 91 | 92 | // Ensure a width/height is set 93 | rect.width = rect.width || 1; 94 | rect.height = rect.height || 1; 95 | 96 | // Center the rect within the zoomed viewport 97 | rect.x -= ( window.innerWidth - ( rect.width * scale ) ) / 2; 98 | rect.y -= ( window.innerHeight - ( rect.height * scale ) ) / 2; 99 | 100 | if( supportsTransforms ) { 101 | // Reset 102 | if( scale === 1 ) { 103 | document.body.style.transform = ''; 104 | document.body.style.OTransform = ''; 105 | document.body.style.msTransform = ''; 106 | document.body.style.MozTransform = ''; 107 | document.body.style.WebkitTransform = ''; 108 | } 109 | // Scale 110 | else { 111 | var origin = scrollOffset.x +'px '+ scrollOffset.y +'px', 112 | transform = 'translate('+ -rect.x +'px,'+ -rect.y +'px) scale('+ scale +')'; 113 | 114 | document.body.style.transformOrigin = origin; 115 | document.body.style.OTransformOrigin = origin; 116 | document.body.style.msTransformOrigin = origin; 117 | document.body.style.MozTransformOrigin = origin; 118 | document.body.style.WebkitTransformOrigin = origin; 119 | 120 | document.body.style.transform = transform; 121 | document.body.style.OTransform = transform; 122 | document.body.style.msTransform = transform; 123 | document.body.style.MozTransform = transform; 124 | document.body.style.WebkitTransform = transform; 125 | } 126 | } 127 | else { 128 | // Reset 129 | if( scale === 1 ) { 130 | document.body.style.position = ''; 131 | document.body.style.left = ''; 132 | document.body.style.top = ''; 133 | document.body.style.width = ''; 134 | document.body.style.height = ''; 135 | document.body.style.zoom = ''; 136 | } 137 | // Scale 138 | else { 139 | document.body.style.position = 'relative'; 140 | document.body.style.left = ( - ( scrollOffset.x + rect.x ) / scale ) + 'px'; 141 | document.body.style.top = ( - ( scrollOffset.y + rect.y ) / scale ) + 'px'; 142 | document.body.style.width = ( scale * 100 ) + '%'; 143 | document.body.style.height = ( scale * 100 ) + '%'; 144 | document.body.style.zoom = scale; 145 | } 146 | } 147 | 148 | level = scale; 149 | 150 | if( document.documentElement.classList ) { 151 | if( level !== 1 ) { 152 | document.documentElement.classList.add( 'zoomed' ); 153 | } 154 | else { 155 | document.documentElement.classList.remove( 'zoomed' ); 156 | } 157 | } 158 | } 159 | 160 | /** 161 | * Pan the document when the mosue cursor approaches the edges 162 | * of the window. 163 | */ 164 | function pan() { 165 | var range = 0.12, 166 | rangeX = window.innerWidth * range, 167 | rangeY = window.innerHeight * range, 168 | scrollOffset = getScrollOffset(); 169 | 170 | // Up 171 | if( mouseY < rangeY ) { 172 | window.scroll( scrollOffset.x, scrollOffset.y - ( 1 - ( mouseY / rangeY ) ) * ( 14 / level ) ); 173 | } 174 | // Down 175 | else if( mouseY > window.innerHeight - rangeY ) { 176 | window.scroll( scrollOffset.x, scrollOffset.y + ( 1 - ( window.innerHeight - mouseY ) / rangeY ) * ( 14 / level ) ); 177 | } 178 | 179 | // Left 180 | if( mouseX < rangeX ) { 181 | window.scroll( scrollOffset.x - ( 1 - ( mouseX / rangeX ) ) * ( 14 / level ), scrollOffset.y ); 182 | } 183 | // Right 184 | else if( mouseX > window.innerWidth - rangeX ) { 185 | window.scroll( scrollOffset.x + ( 1 - ( window.innerWidth - mouseX ) / rangeX ) * ( 14 / level ), scrollOffset.y ); 186 | } 187 | } 188 | 189 | function getScrollOffset() { 190 | return { 191 | x: window.scrollX !== undefined ? window.scrollX : window.pageXOffset, 192 | y: window.scrollY !== undefined ? window.scrollY : window.pageYOffset 193 | } 194 | } 195 | 196 | return { 197 | /** 198 | * Zooms in on either a rectangle or HTML element. 199 | * 200 | * @param {Object} options 201 | * - element: HTML element to zoom in on 202 | * OR 203 | * - x/y: coordinates in non-transformed space to zoom in on 204 | * - width/height: the portion of the screen to zoom in on 205 | * - scale: can be used instead of width/height to explicitly set scale 206 | */ 207 | to: function( options ) { 208 | 209 | // Due to an implementation limitation we can't zoom in 210 | // to another element without zooming out first 211 | if( level !== 1 ) { 212 | zoom.out(); 213 | } 214 | else { 215 | options.x = options.x || 0; 216 | options.y = options.y || 0; 217 | 218 | // If an element is set, that takes precedence 219 | if( !!options.element ) { 220 | // Space around the zoomed in element to leave on screen 221 | var padding = 20; 222 | var bounds = options.element.getBoundingClientRect(); 223 | 224 | options.x = bounds.left - padding; 225 | options.y = bounds.top - padding; 226 | options.width = bounds.width + ( padding * 2 ); 227 | options.height = bounds.height + ( padding * 2 ); 228 | } 229 | 230 | // If width/height values are set, calculate scale from those values 231 | if( options.width !== undefined && options.height !== undefined ) { 232 | options.scale = Math.max( Math.min( window.innerWidth / options.width, window.innerHeight / options.height ), 1 ); 233 | } 234 | 235 | if( options.scale > 1 ) { 236 | options.x *= options.scale; 237 | options.y *= options.scale; 238 | 239 | magnify( options, options.scale ); 240 | 241 | if( options.pan !== false ) { 242 | 243 | // Wait with engaging panning as it may conflict with the 244 | // zoom transition 245 | panEngageTimeout = setTimeout( function() { 246 | panUpdateInterval = setInterval( pan, 1000 / 60 ); 247 | }, 800 ); 248 | 249 | } 250 | } 251 | } 252 | }, 253 | 254 | /** 255 | * Resets the document zoom state to its default. 256 | */ 257 | out: function() { 258 | clearTimeout( panEngageTimeout ); 259 | clearInterval( panUpdateInterval ); 260 | 261 | magnify( { x: 0, y: 0 }, 1 ); 262 | 263 | level = 1; 264 | }, 265 | 266 | // Alias 267 | magnify: function( options ) { this.to( options ) }, 268 | reset: function() { this.out() }, 269 | 270 | zoomLevel: function() { 271 | return level; 272 | } 273 | } 274 | 275 | })(); 276 | 277 | 278 | 279 | -------------------------------------------------------------------------------- /scss/ionic.scss: -------------------------------------------------------------------------------- 1 | 2 | // Default mixins and settings ----------------- 3 | @import "theme/mixins"; 4 | @import "theme/settings"; 5 | // --------------------------------------------- 6 | 7 | 8 | // Include theme-specific fonts 9 | @import url(../../lib/font/source-sans-pro/source-sans-pro.css); 10 | 11 | 12 | // Override theme settings 13 | 14 | // Classic Ionic Blue 15 | //$backgroundColor: #3374de; 16 | // Modern Ionic Dark Blue 17 | $backgroundColor: #2D303E; 18 | 19 | $mainColor: #fff; 20 | $headingColor: #fff; 21 | 22 | $mainFontSize: 32px; 23 | $mainFont: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; 24 | $headingFont: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; 25 | $headingTextShadow: 1px 1px 15px rgba(0, 0, 0, .2); 26 | $headingLetterSpacing: normal; 27 | $headingTextTransform: none; 28 | $headingFontWeight: 200; 29 | $linkColor: white; 30 | $linkColorHover: white; 31 | $selectionBackgroundColor: lighten( $linkColor, 25% ); 32 | 33 | $heading1Size: 2.0em; 34 | $heading2Size: 1.6em; 35 | $heading3Size: 1.3em; 36 | $heading4Size: 1.0em; 37 | 38 | section.has-light-background { 39 | &, h1, h2, h3, h4, h5, h6 { 40 | color: #222; 41 | } 42 | } 43 | 44 | 45 | // Theme template ------------------------------ 46 | @import "theme/theme"; 47 | // --------------------------------------------- 48 | 49 | .reveal { 50 | 51 | h1, h2, h3, h4 { 52 | text-transform: uppercase; 53 | } 54 | 55 | p, th, td, ol, ul, li { 56 | text-shadow: $headingTextShadow; 57 | } 58 | 59 | section img { 60 | background: transparent; 61 | border: 0; 62 | box-shadow: none; 63 | } 64 | 65 | blockquote { 66 | display: block; 67 | position: relative; 68 | width: 70%; 69 | margin: 20px auto; 70 | padding: 5px; 71 | font-style: italic; 72 | background: transparent; 73 | box-shadow: none; 74 | } 75 | 76 | table { 77 | td, th { 78 | border: 0; 79 | background: rgba(0,0,0,.15); 80 | } 81 | 82 | th { 83 | text-transform: uppercase; 84 | background: rgba(0,0,0,.4); 85 | } 86 | } 87 | 88 | a { 89 | color: inherit; 90 | text-decoration: underline; 91 | } 92 | 93 | .dark-shadow { 94 | text-shadow: 5px 0 10px black; 95 | } 96 | 97 | .left { 98 | text-align: left; 99 | } 100 | 101 | .me { 102 | margin: 30px 0 0 130px; 103 | font-size:1.2em; 104 | line-height: 2em; 105 | list-style-type: none; 106 | 107 | li { 108 | padding: 0 0 0 70px; 109 | } 110 | } 111 | 112 | strong { 113 | font-weight: 900; 114 | } 115 | 116 | .native-logos { 117 | 118 | img { 119 | width: 100px; 120 | margin: 40px 20px 0 20px; 121 | } 122 | 123 | } 124 | 125 | .stack { 126 | width: 330px; 127 | margin: 0 350px 0 0; 128 | list-style-type: none; 129 | 130 | li { 131 | margin: 8px; 132 | padding: 5px 6px 7px 12px; 133 | } 134 | } 135 | 136 | .ionic-blue, 137 | .ionic-blue * { 138 | text-shadow: none; 139 | color: #3374de; 140 | } 141 | 142 | .col { 143 | float: left; 144 | width: 50%; 145 | } 146 | .col.preview { 147 | width: 35%;; 148 | } 149 | .col.code { 150 | width: 65%; 151 | text-align: left; 152 | } 153 | .col.code > * { 154 | margin-left: 40px; 155 | } 156 | 157 | .demo-frame { 158 | background: url('../img/demo-bg.png') no-repeat; 159 | background-size: 340px; 160 | height: 700px; 161 | margin-top: 0; 162 | margin-left: -15px; 163 | min-width: 345px; 164 | } 165 | 166 | .demo-frame iframe { 167 | position: absolute; 168 | left: 7px; 169 | top: 98px; 170 | width: 296px; 171 | height: 527px 172 | } 173 | 174 | } 175 | -------------------------------------------------------------------------------- /scss/main.scss: -------------------------------------------------------------------------------- 1 | @import "reveal"; 2 | @import "ionic"; 3 | -------------------------------------------------------------------------------- /scss/theme/mixins.scss: -------------------------------------------------------------------------------- 1 | @mixin vertical-gradient( $top, $bottom ) { 2 | background: $top; 3 | background: -moz-linear-gradient( top, $top 0%, $bottom 100% ); 4 | background: -webkit-gradient( linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom) ); 5 | background: -webkit-linear-gradient( top, $top 0%, $bottom 100% ); 6 | background: -o-linear-gradient( top, $top 0%, $bottom 100% ); 7 | background: -ms-linear-gradient( top, $top 0%, $bottom 100% ); 8 | background: linear-gradient( top, $top 0%, $bottom 100% ); 9 | } 10 | 11 | @mixin horizontal-gradient( $top, $bottom ) { 12 | background: $top; 13 | background: -moz-linear-gradient( left, $top 0%, $bottom 100% ); 14 | background: -webkit-gradient( linear, left top, right top, color-stop(0%,$top), color-stop(100%,$bottom) ); 15 | background: -webkit-linear-gradient( left, $top 0%, $bottom 100% ); 16 | background: -o-linear-gradient( left, $top 0%, $bottom 100% ); 17 | background: -ms-linear-gradient( left, $top 0%, $bottom 100% ); 18 | background: linear-gradient( left, $top 0%, $bottom 100% ); 19 | } 20 | 21 | @mixin radial-gradient( $outer, $inner, $type: circle ) { 22 | background: $outer; 23 | background: -moz-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 24 | background: -webkit-gradient( radial, center center, 0px, center center, 100%, color-stop(0%,$inner), color-stop(100%,$outer) ); 25 | background: -webkit-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 26 | background: -o-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 27 | background: -ms-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 28 | background: radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 29 | } -------------------------------------------------------------------------------- /scss/theme/settings.scss: -------------------------------------------------------------------------------- 1 | // Base settings for all themes that can optionally be 2 | // overridden by the super-theme 3 | 4 | // Background of the presentation 5 | $backgroundColor: #2b2b2b; 6 | 7 | // Primary/body text 8 | $mainFont: 'Lato', sans-serif; 9 | $mainFontSize: 36px; 10 | $mainColor: #eee; 11 | 12 | // Vertical spacing between blocks of text 13 | $blockMargin: 20px; 14 | 15 | // Headings 16 | $headingMargin: 0 0 $blockMargin 0; 17 | $headingFont: 'League Gothic', Impact, sans-serif; 18 | $headingColor: #eee; 19 | $headingLineHeight: 1.2; 20 | $headingLetterSpacing: normal; 21 | $headingTextTransform: uppercase; 22 | $headingTextShadow: none; 23 | $headingFontWeight: normal; 24 | $heading1TextShadow: $headingTextShadow; 25 | 26 | $heading1Size: 3.77em; 27 | $heading2Size: 2.11em; 28 | $heading3Size: 1.55em; 29 | $heading4Size: 1.00em; 30 | 31 | // Links and actions 32 | $linkColor: #13DAEC; 33 | $linkColorHover: lighten( $linkColor, 20% ); 34 | 35 | // Text selection 36 | $selectionBackgroundColor: #FF5E99; 37 | $selectionColor: #fff; 38 | 39 | // Generates the presentation background, can be overridden 40 | // to return a background image or gradient 41 | @mixin bodyBackground() { 42 | background: $backgroundColor; 43 | } -------------------------------------------------------------------------------- /scss/theme/theme.scss: -------------------------------------------------------------------------------- 1 | // Base theme template for reveal.js 2 | 3 | /********************************************* 4 | * GLOBAL STYLES 5 | *********************************************/ 6 | 7 | body { 8 | @include bodyBackground(); 9 | background-color: $backgroundColor; 10 | } 11 | 12 | .reveal { 13 | font-family: $mainFont; 14 | font-size: $mainFontSize; 15 | font-weight: normal; 16 | color: $mainColor; 17 | } 18 | 19 | ::selection { 20 | color: $selectionColor; 21 | background: $selectionBackgroundColor; 22 | text-shadow: none; 23 | } 24 | 25 | .reveal .slides>section, 26 | .reveal .slides>section>section { 27 | line-height: 1.3; 28 | font-weight: inherit; 29 | } 30 | 31 | /********************************************* 32 | * HEADERS 33 | *********************************************/ 34 | 35 | .reveal h1, 36 | .reveal h2, 37 | .reveal h3, 38 | .reveal h4, 39 | .reveal h5, 40 | .reveal h6 { 41 | margin: $headingMargin; 42 | color: $headingColor; 43 | 44 | font-family: $headingFont; 45 | font-weight: $headingFontWeight; 46 | line-height: $headingLineHeight; 47 | letter-spacing: $headingLetterSpacing; 48 | 49 | text-transform: $headingTextTransform; 50 | text-shadow: $headingTextShadow; 51 | 52 | word-wrap: break-word; 53 | } 54 | 55 | .reveal h1 {font-size: $heading1Size; } 56 | .reveal h2 {font-size: $heading2Size; } 57 | .reveal h3 {font-size: $heading3Size; } 58 | .reveal h4 {font-size: $heading4Size; } 59 | 60 | .reveal h1 { 61 | text-shadow: $heading1TextShadow; 62 | } 63 | 64 | 65 | /********************************************* 66 | * OTHER 67 | *********************************************/ 68 | 69 | .reveal p { 70 | margin: $blockMargin 0; 71 | line-height: 1.3; 72 | } 73 | 74 | /* Ensure certain elements are never larger than the slide itself */ 75 | .reveal img, 76 | .reveal video, 77 | .reveal iframe { 78 | max-width: 95%; 79 | max-height: 95%; 80 | } 81 | .reveal strong, 82 | .reveal b { 83 | font-weight: bold; 84 | } 85 | 86 | .reveal em { 87 | font-style: italic; 88 | } 89 | 90 | .reveal ol, 91 | .reveal dl, 92 | .reveal ul { 93 | display: inline-block; 94 | 95 | text-align: left; 96 | margin: 0 0 0 1em; 97 | } 98 | 99 | .reveal ol { 100 | list-style-type: decimal; 101 | } 102 | 103 | .reveal ul { 104 | list-style-type: disc; 105 | } 106 | 107 | .reveal ul ul { 108 | list-style-type: square; 109 | } 110 | 111 | .reveal ul ul ul { 112 | list-style-type: circle; 113 | } 114 | 115 | .reveal ul ul, 116 | .reveal ul ol, 117 | .reveal ol ol, 118 | .reveal ol ul { 119 | display: block; 120 | margin-left: 40px; 121 | } 122 | 123 | .reveal dt { 124 | font-weight: bold; 125 | } 126 | 127 | .reveal dd { 128 | margin-left: 40px; 129 | } 130 | 131 | .reveal q, 132 | .reveal blockquote { 133 | quotes: none; 134 | } 135 | 136 | .reveal blockquote { 137 | display: block; 138 | position: relative; 139 | width: 70%; 140 | margin: $blockMargin auto; 141 | padding: 5px; 142 | 143 | font-style: italic; 144 | background: rgba(255, 255, 255, 0.05); 145 | box-shadow: 0px 0px 2px rgba(0,0,0,0.2); 146 | } 147 | .reveal blockquote p:first-child, 148 | .reveal blockquote p:last-child { 149 | display: inline-block; 150 | } 151 | 152 | .reveal q { 153 | font-style: italic; 154 | } 155 | 156 | .reveal pre { 157 | display: block; 158 | position: relative; 159 | width: 90%; 160 | margin: $blockMargin auto; 161 | 162 | text-align: left; 163 | font-size: 0.55em; 164 | font-family: monospace; 165 | line-height: 1.2em; 166 | 167 | word-wrap: break-word; 168 | 169 | box-shadow: 0px 0px 6px rgba(0,0,0,0.3); 170 | } 171 | .reveal code { 172 | font-family: monospace; 173 | } 174 | 175 | .reveal pre code { 176 | display: block; 177 | padding: 5px; 178 | overflow: auto; 179 | max-height: 400px; 180 | word-wrap: normal; 181 | background: #3F3F3F; 182 | color: #DCDCDC; 183 | } 184 | 185 | .reveal table { 186 | margin: auto; 187 | border-collapse: collapse; 188 | border-spacing: 0; 189 | } 190 | 191 | .reveal table th { 192 | font-weight: bold; 193 | } 194 | 195 | .reveal table th, 196 | .reveal table td { 197 | text-align: left; 198 | padding: 0.2em 0.5em 0.2em 0.5em; 199 | border-bottom: 1px solid; 200 | } 201 | 202 | .reveal table tr:last-child td { 203 | border-bottom: none; 204 | } 205 | 206 | .reveal sup { 207 | vertical-align: super; 208 | } 209 | .reveal sub { 210 | vertical-align: sub; 211 | } 212 | 213 | .reveal small { 214 | display: inline-block; 215 | font-size: 0.6em; 216 | line-height: 1.2em; 217 | vertical-align: top; 218 | } 219 | 220 | .reveal small * { 221 | vertical-align: top; 222 | } 223 | 224 | 225 | /********************************************* 226 | * LINKS 227 | *********************************************/ 228 | 229 | .reveal a { 230 | color: $linkColor; 231 | text-decoration: none; 232 | 233 | -webkit-transition: color .15s ease; 234 | -moz-transition: color .15s ease; 235 | transition: color .15s ease; 236 | } 237 | .reveal a:hover { 238 | color: $linkColorHover; 239 | 240 | text-shadow: none; 241 | border: none; 242 | } 243 | 244 | .reveal .roll span:after { 245 | color: #fff; 246 | background: darken( $linkColor, 15% ); 247 | } 248 | 249 | 250 | /********************************************* 251 | * IMAGES 252 | *********************************************/ 253 | 254 | .reveal section img { 255 | margin: 15px 0px; 256 | background: rgba(255,255,255,0.12); 257 | border: 4px solid $mainColor; 258 | 259 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); 260 | } 261 | 262 | .reveal a img { 263 | -webkit-transition: all .15s linear; 264 | -moz-transition: all .15s linear; 265 | transition: all .15s linear; 266 | } 267 | 268 | .reveal a:hover img { 269 | background: rgba(255,255,255,0.2); 270 | border-color: $linkColor; 271 | 272 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); 273 | } 274 | 275 | 276 | /********************************************* 277 | * NAVIGATION CONTROLS 278 | *********************************************/ 279 | 280 | .reveal .controls div.navigate-left, 281 | .reveal .controls div.navigate-left.enabled { 282 | border-right-color: $linkColor; 283 | } 284 | 285 | .reveal .controls div.navigate-right, 286 | .reveal .controls div.navigate-right.enabled { 287 | border-left-color: $linkColor; 288 | } 289 | 290 | .reveal .controls div.navigate-up, 291 | .reveal .controls div.navigate-up.enabled { 292 | border-bottom-color: $linkColor; 293 | } 294 | 295 | .reveal .controls div.navigate-down, 296 | .reveal .controls div.navigate-down.enabled { 297 | border-top-color: $linkColor; 298 | } 299 | 300 | .reveal .controls div.navigate-left.enabled:hover { 301 | border-right-color: $linkColorHover; 302 | } 303 | 304 | .reveal .controls div.navigate-right.enabled:hover { 305 | border-left-color: $linkColorHover; 306 | } 307 | 308 | .reveal .controls div.navigate-up.enabled:hover { 309 | border-bottom-color: $linkColorHover; 310 | } 311 | 312 | .reveal .controls div.navigate-down.enabled:hover { 313 | border-top-color: $linkColorHover; 314 | } 315 | 316 | 317 | /********************************************* 318 | * PROGRESS BAR 319 | *********************************************/ 320 | 321 | .reveal .progress { 322 | background: rgba(0,0,0,0.2); 323 | } 324 | .reveal .progress span { 325 | background: $linkColor; 326 | 327 | -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); 328 | -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); 329 | transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); 330 | } 331 | 332 | /********************************************* 333 | * SLIDE NUMBER 334 | *********************************************/ 335 | .reveal .slide-number { 336 | color: $linkColor; 337 | } 338 | 339 | 340 | -------------------------------------------------------------------------------- /test/examples/assets/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/test/examples/assets/image1.png -------------------------------------------------------------------------------- /test/examples/assets/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/ionic-present/6141805226c6b7ed19e23ecba8b804d1873175ad/test/examples/assets/image2.png -------------------------------------------------------------------------------- /test/examples/barebones.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Barebones 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |
17 | 18 |
19 |

Barebones Presentation

20 |

This example contains the bare minimum includes and markup required to run a reveal.js presentation.

21 |
22 | 23 |
24 |

No Theme

25 |

There's no theme included, so it will fall back on browser defaults.

26 |
27 | 28 |
29 | 30 |
31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /test/examples/embedded-media.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Embedded Media 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 |
20 | 21 |
22 |

Embedded Media Test

23 |
24 | 25 |
26 | 27 |
28 | 29 |
30 |

Empty Slide

31 |
32 | 33 |
34 | 35 |
36 | 37 | 38 | 39 | 40 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /test/examples/math.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Math Plugin 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 |
20 | 21 |
22 |

reveal.js Math Plugin

23 |

A thin wrapper for MathJax

24 |
25 | 26 |
27 |

The Lorenz Equations

28 | 29 | \[\begin{aligned} 30 | \dot{x} & = \sigma(y-x) \\ 31 | \dot{y} & = \rho x - y - xz \\ 32 | \dot{z} & = -\beta z + xy 33 | \end{aligned} \] 34 |
35 | 36 |
37 |

The Cauchy-Schwarz Inequality

38 | 39 | 42 |
43 | 44 |
45 |

A Cross Product Formula

46 | 47 | \[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} 48 | \mathbf{i} & \mathbf{j} & \mathbf{k} \\ 49 | \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ 50 | \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 51 | \end{vmatrix} \] 52 |
53 | 54 |
55 |

The probability of getting \(k\) heads when flipping \(n\) coins is

56 | 57 | \[P(E) = {n \choose k} p^k (1-p)^{ n-k} \] 58 |
59 | 60 |
61 |

An Identity of Ramanujan

62 | 63 | \[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 64 | 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} 65 | {1+\frac{e^{-8\pi}} {1+\ldots} } } } \] 66 |
67 | 68 |
69 |

A Rogers-Ramanujan Identity

70 | 71 | \[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = 72 | \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\] 73 |
74 | 75 |
76 |

Maxwell’s Equations

77 | 78 | \[ \begin{aligned} 79 | \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ 80 | \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ 81 | \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} 82 | \] 83 |
84 | 85 |
86 |
87 |

The Lorenz Equations

88 | 89 |
90 | \[\begin{aligned} 91 | \dot{x} & = \sigma(y-x) \\ 92 | \dot{y} & = \rho x - y - xz \\ 93 | \dot{z} & = -\beta z + xy 94 | \end{aligned} \] 95 |
96 |
97 | 98 |
99 |

The Cauchy-Schwarz Inequality

100 | 101 |
102 | \[ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \] 103 |
104 |
105 | 106 |
107 |

A Cross Product Formula

108 | 109 |
110 | \[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} 111 | \mathbf{i} & \mathbf{j} & \mathbf{k} \\ 112 | \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ 113 | \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 114 | \end{vmatrix} \] 115 |
116 |
117 | 118 |
119 |

The probability of getting \(k\) heads when flipping \(n\) coins is

120 | 121 |
122 | \[P(E) = {n \choose k} p^k (1-p)^{ n-k} \] 123 |
124 |
125 | 126 |
127 |

An Identity of Ramanujan

128 | 129 |
130 | \[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 131 | 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} 132 | {1+\frac{e^{-8\pi}} {1+\ldots} } } } \] 133 |
134 |
135 | 136 |
137 |

A Rogers-Ramanujan Identity

138 | 139 |
140 | \[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = 141 | \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\] 142 |
143 |
144 | 145 |
146 |

Maxwell’s Equations

147 | 148 |
149 | \[ \begin{aligned} 150 | \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ 151 | \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ 152 | \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned} 153 | \] 154 |
155 |
156 |
157 | 158 |
159 | 160 |
161 | 162 | 163 | 164 | 165 | 183 | 184 | 185 | 186 | -------------------------------------------------------------------------------- /test/examples/slide-backgrounds.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Slide Backgrounds 8 | 9 | 10 | 11 | 12 | 13 | 23 | 24 | 25 | 26 | 27 |
28 | 29 |
30 | 31 |
32 |

data-background: #00ffff

33 |
34 | 35 |
36 |

data-background: #bb00bb

37 |
38 | 39 |
40 |

data-background: lightblue

41 |
42 | 43 |
44 |
45 |

data-background: #ff0000

46 |
47 |
48 |

data-background: rgba(0, 0, 0, 0.2)

49 |
50 |
51 |

data-background: salmon

52 |
53 |
54 | 55 |
56 |
57 |

Background applied to stack

58 |
59 |
60 |

Background applied to stack

61 |
62 |
63 |

Background applied to slide inside of stack

64 |
65 |
66 | 67 |
68 |

Background image

69 |
70 | 71 |
72 |
73 |

Background image

74 |
75 |
76 |

Background image

77 |
78 |
79 | 80 |
81 |

Background image

82 |
data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"
83 |
84 | 85 |
86 |

Same background twice (1/2)

87 |
88 |
89 |

Same background twice (2/2)

90 |
91 | 92 |
93 |

Video background

94 |
95 | 96 |
97 |

Iframe background

98 |
99 | 100 |
101 |
102 |

Same background twice vertical (1/2)

103 |
104 |
105 |

Same background twice vertical (2/2)

106 |
107 |
108 | 109 |
110 |

Same background from horizontal to vertical (1/3)

111 |
112 |
113 |
114 |

Same background from horizontal to vertical (2/3)

115 |
116 |
117 |

Same background from horizontal to vertical (3/3)

118 |
119 |
120 | 121 |
122 | 123 |
124 | 125 | 126 | 127 | 128 | 142 | 143 | 144 | 145 | -------------------------------------------------------------------------------- /test/qunit-1.12.0.css: -------------------------------------------------------------------------------- 1 | /** 2 | * QUnit v1.12.0 - A JavaScript Unit Testing Framework 3 | * 4 | * http://qunitjs.com 5 | * 6 | * Copyright 2012 jQuery Foundation and other contributors 7 | * Released under the MIT license. 8 | * http://jquery.org/license 9 | */ 10 | 11 | /** Font Family and Sizes */ 12 | 13 | #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult { 14 | font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif; 15 | } 16 | 17 | #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; } 18 | #qunit-tests { font-size: smaller; } 19 | 20 | 21 | /** Resets */ 22 | 23 | #qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter { 24 | margin: 0; 25 | padding: 0; 26 | } 27 | 28 | 29 | /** Header */ 30 | 31 | #qunit-header { 32 | padding: 0.5em 0 0.5em 1em; 33 | 34 | color: #8699a4; 35 | background-color: #0d3349; 36 | 37 | font-size: 1.5em; 38 | line-height: 1em; 39 | font-weight: normal; 40 | 41 | border-radius: 5px 5px 0 0; 42 | -moz-border-radius: 5px 5px 0 0; 43 | -webkit-border-top-right-radius: 5px; 44 | -webkit-border-top-left-radius: 5px; 45 | } 46 | 47 | #qunit-header a { 48 | text-decoration: none; 49 | color: #c2ccd1; 50 | } 51 | 52 | #qunit-header a:hover, 53 | #qunit-header a:focus { 54 | color: #fff; 55 | } 56 | 57 | #qunit-testrunner-toolbar label { 58 | display: inline-block; 59 | padding: 0 .5em 0 .1em; 60 | } 61 | 62 | #qunit-banner { 63 | height: 5px; 64 | } 65 | 66 | #qunit-testrunner-toolbar { 67 | padding: 0.5em 0 0.5em 2em; 68 | color: #5E740B; 69 | background-color: #eee; 70 | overflow: hidden; 71 | } 72 | 73 | #qunit-userAgent { 74 | padding: 0.5em 0 0.5em 2.5em; 75 | background-color: #2b81af; 76 | color: #fff; 77 | text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; 78 | } 79 | 80 | #qunit-modulefilter-container { 81 | float: right; 82 | } 83 | 84 | /** Tests: Pass/Fail */ 85 | 86 | #qunit-tests { 87 | list-style-position: inside; 88 | } 89 | 90 | #qunit-tests li { 91 | padding: 0.4em 0.5em 0.4em 2.5em; 92 | border-bottom: 1px solid #fff; 93 | list-style-position: inside; 94 | } 95 | 96 | #qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running { 97 | display: none; 98 | } 99 | 100 | #qunit-tests li strong { 101 | cursor: pointer; 102 | } 103 | 104 | #qunit-tests li a { 105 | padding: 0.5em; 106 | color: #c2ccd1; 107 | text-decoration: none; 108 | } 109 | #qunit-tests li a:hover, 110 | #qunit-tests li a:focus { 111 | color: #000; 112 | } 113 | 114 | #qunit-tests li .runtime { 115 | float: right; 116 | font-size: smaller; 117 | } 118 | 119 | .qunit-assert-list { 120 | margin-top: 0.5em; 121 | padding: 0.5em; 122 | 123 | background-color: #fff; 124 | 125 | border-radius: 5px; 126 | -moz-border-radius: 5px; 127 | -webkit-border-radius: 5px; 128 | } 129 | 130 | .qunit-collapsed { 131 | display: none; 132 | } 133 | 134 | #qunit-tests table { 135 | border-collapse: collapse; 136 | margin-top: .2em; 137 | } 138 | 139 | #qunit-tests th { 140 | text-align: right; 141 | vertical-align: top; 142 | padding: 0 .5em 0 0; 143 | } 144 | 145 | #qunit-tests td { 146 | vertical-align: top; 147 | } 148 | 149 | #qunit-tests pre { 150 | margin: 0; 151 | white-space: pre-wrap; 152 | word-wrap: break-word; 153 | } 154 | 155 | #qunit-tests del { 156 | background-color: #e0f2be; 157 | color: #374e0c; 158 | text-decoration: none; 159 | } 160 | 161 | #qunit-tests ins { 162 | background-color: #ffcaca; 163 | color: #500; 164 | text-decoration: none; 165 | } 166 | 167 | /*** Test Counts */ 168 | 169 | #qunit-tests b.counts { color: black; } 170 | #qunit-tests b.passed { color: #5E740B; } 171 | #qunit-tests b.failed { color: #710909; } 172 | 173 | #qunit-tests li li { 174 | padding: 5px; 175 | background-color: #fff; 176 | border-bottom: none; 177 | list-style-position: inside; 178 | } 179 | 180 | /*** Passing Styles */ 181 | 182 | #qunit-tests li li.pass { 183 | color: #3c510c; 184 | background-color: #fff; 185 | border-left: 10px solid #C6E746; 186 | } 187 | 188 | #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; } 189 | #qunit-tests .pass .test-name { color: #366097; } 190 | 191 | #qunit-tests .pass .test-actual, 192 | #qunit-tests .pass .test-expected { color: #999999; } 193 | 194 | #qunit-banner.qunit-pass { background-color: #C6E746; } 195 | 196 | /*** Failing Styles */ 197 | 198 | #qunit-tests li li.fail { 199 | color: #710909; 200 | background-color: #fff; 201 | border-left: 10px solid #EE5757; 202 | white-space: pre; 203 | } 204 | 205 | #qunit-tests > li:last-child { 206 | border-radius: 0 0 5px 5px; 207 | -moz-border-radius: 0 0 5px 5px; 208 | -webkit-border-bottom-right-radius: 5px; 209 | -webkit-border-bottom-left-radius: 5px; 210 | } 211 | 212 | #qunit-tests .fail { color: #000000; background-color: #EE5757; } 213 | #qunit-tests .fail .test-name, 214 | #qunit-tests .fail .module-name { color: #000000; } 215 | 216 | #qunit-tests .fail .test-actual { color: #EE5757; } 217 | #qunit-tests .fail .test-expected { color: green; } 218 | 219 | #qunit-banner.qunit-fail { background-color: #EE5757; } 220 | 221 | 222 | /** Result */ 223 | 224 | #qunit-testresult { 225 | padding: 0.5em 0.5em 0.5em 2.5em; 226 | 227 | color: #2b81af; 228 | background-color: #D2E0E6; 229 | 230 | border-bottom: 1px solid white; 231 | } 232 | #qunit-testresult .module-name { 233 | font-weight: bold; 234 | } 235 | 236 | /** Fixture */ 237 | 238 | #qunit-fixture { 239 | position: absolute; 240 | top: -10000px; 241 | left: -10000px; 242 | width: 1000px; 243 | height: 1000px; 244 | } -------------------------------------------------------------------------------- /test/test-markdown-element-attributes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Test Markdown Element Attributes 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | 18 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /test/test-markdown-element-attributes.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | Reveal.addEventListener( 'ready', function() { 4 | 5 | QUnit.module( 'Markdown' ); 6 | 7 | test( 'Vertical separator', function() { 8 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 4, 'found four slides' ); 9 | }); 10 | 11 | 12 | test( 'Attributes on element header in vertical slides', function() { 13 | strictEqual( document.querySelectorAll( '.reveal .slides section>section h2.fragment.fade-out' ).length, 1, 'found one vertical slide with class fragment.fade-out on header' ); 14 | strictEqual( document.querySelectorAll( '.reveal .slides section>section h2.fragment.shrink' ).length, 1, 'found one vertical slide with class fragment.shrink on header' ); 15 | }); 16 | 17 | test( 'Attributes on element paragraphs in vertical slides', function() { 18 | strictEqual( document.querySelectorAll( '.reveal .slides section>section p.fragment.grow' ).length, 2, 'found a vertical slide with two paragraphs with class fragment.grow' ); 19 | }); 20 | 21 | test( 'Attributes on element list items in vertical slides', function() { 22 | strictEqual( document.querySelectorAll( '.reveal .slides section>section li.fragment.roll-in' ).length, 3, 'found a vertical slide with three list items with class fragment.roll-in' ); 23 | }); 24 | 25 | test( 'Attributes on element paragraphs in horizontal slides', function() { 26 | strictEqual( document.querySelectorAll( '.reveal .slides section p.fragment.highlight-red' ).length, 4, 'found a horizontal slide with four paragraphs with class fragment.grow' ); 27 | }); 28 | test( 'Attributes on element list items in horizontal slides', function() { 29 | strictEqual( document.querySelectorAll( '.reveal .slides section li.fragment.highlight-green' ).length, 5, 'found a horizontal slide with five list items with class fragment.roll-in' ); 30 | }); 31 | test( 'Attributes on element list items in horizontal slides', function() { 32 | strictEqual( document.querySelectorAll( '.reveal .slides section img.reveal.stretch' ).length, 1, 'found a horizontal slide with stretched image, class img.reveal.stretch' ); 33 | }); 34 | 35 | test( 'Attributes on elements in vertical slides with default element attribute separator', function() { 36 | strictEqual( document.querySelectorAll( '.reveal .slides section h2.fragment.highlight-red' ).length, 2, 'found two h2 titles with fragment highlight-red in vertical slides with default element attribute separator' ); 37 | }); 38 | 39 | test( 'Attributes on elements in single slides with default element attribute separator', function() { 40 | strictEqual( document.querySelectorAll( '.reveal .slides section p.fragment.highlight-blue' ).length, 3, 'found three elements with fragment highlight-blue in single slide with default element attribute separator' ); 41 | }); 42 | 43 | } ); 44 | 45 | Reveal.initialize(); 46 | 47 | -------------------------------------------------------------------------------- /test/test-markdown-slide-attributes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Test Markdown Attributes 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | 18 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | -------------------------------------------------------------------------------- /test/test-markdown-slide-attributes.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | Reveal.addEventListener( 'ready', function() { 4 | 5 | QUnit.module( 'Markdown' ); 6 | 7 | test( 'Vertical separator', function() { 8 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 6, 'found six vertical slides' ); 9 | }); 10 | 11 | test( 'Id on slide', function() { 12 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section#slide2' ).length, 1, 'found one slide with id slide2' ); 13 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section a[href="#/slide2"]' ).length, 1, 'found one slide with a link to slide2' ); 14 | }); 15 | 16 | test( 'data-background attributes', function() { 17 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-background="#A0C66B"]' ).length, 1, 'found one vertical slide with data-background="#A0C66B"' ); 18 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-background="#ff0000"]' ).length, 1, 'found one vertical slide with data-background="#ff0000"' ); 19 | strictEqual( document.querySelectorAll( '.reveal .slides>section[data-background="#C6916B"]' ).length, 1, 'found one slide with data-background="#C6916B"' ); 20 | }); 21 | 22 | test( 'data-transition attributes', function() { 23 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-transition="zoom"]' ).length, 1, 'found one vertical slide with data-transition="zoom"' ); 24 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-transition="fade"]' ).length, 1, 'found one vertical slide with data-transition="fade"' ); 25 | strictEqual( document.querySelectorAll( '.reveal .slides section [data-transition="zoom"]' ).length, 1, 'found one slide with data-transition="zoom"' ); 26 | }); 27 | 28 | test( 'data-background attributes with default separator', function() { 29 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-background="#A7C66B"]' ).length, 1, 'found one vertical slide with data-background="#A0C66B"' ); 30 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-background="#f70000"]' ).length, 1, 'found one vertical slide with data-background="#ff0000"' ); 31 | strictEqual( document.querySelectorAll( '.reveal .slides>section[data-background="#C7916B"]' ).length, 1, 'found one slide with data-background="#C6916B"' ); 32 | }); 33 | 34 | test( 'data-transition attributes with default separator', function() { 35 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-transition="concave"]' ).length, 1, 'found one vertical slide with data-transition="zoom"' ); 36 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section[data-transition="page"]' ).length, 1, 'found one vertical slide with data-transition="fade"' ); 37 | strictEqual( document.querySelectorAll( '.reveal .slides section [data-transition="concave"]' ).length, 1, 'found one slide with data-transition="zoom"' ); 38 | }); 39 | 40 | test( 'data-transition attributes with inline content', function() { 41 | strictEqual( document.querySelectorAll( '.reveal .slides>section[data-background="#ff0000"]' ).length, 3, 'found three horizontal slides with data-background="#ff0000"' ); 42 | }); 43 | 44 | } ); 45 | 46 | Reveal.initialize(); 47 | 48 | -------------------------------------------------------------------------------- /test/test-markdown.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Test Markdown 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | 18 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /test/test-markdown.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | Reveal.addEventListener( 'ready', function() { 4 | 5 | QUnit.module( 'Markdown' ); 6 | 7 | test( 'Vertical separator', function() { 8 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 2, 'found two slides' ); 9 | }); 10 | 11 | 12 | } ); 13 | 14 | Reveal.initialize(); 15 | 16 | -------------------------------------------------------------------------------- /test/test-pdf.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Test PDF exports 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 |
18 | 19 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /test/test-pdf.js: -------------------------------------------------------------------------------- 1 | 2 | Reveal.addEventListener( 'ready', function() { 3 | 4 | // Only one test for now, we're mainly ensuring that there 5 | // are no execution errors when running PDF mode 6 | 7 | test( 'Reveal.isReady', function() { 8 | strictEqual( Reveal.isReady(), true, 'returns true' ); 9 | }); 10 | 11 | 12 | } ); 13 | 14 | Reveal.initialize({ pdf: true }); 15 | 16 | -------------------------------------------------------------------------------- /test/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | reveal.js - Tests 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | 18 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | --------------------------------------------------------------------------------