annyang 2.6.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +69 -44
  3. package/dist/annyang.cjs +354 -0
  4. package/dist/annyang.cjs.map +1 -0
  5. package/dist/annyang.d.cts +288 -0
  6. package/dist/annyang.d.ts +288 -0
  7. package/dist/annyang.iife.min.js +1 -0
  8. package/dist/annyang.js +296 -670
  9. package/dist/annyang.js.map +1 -1
  10. package/package.json +54 -34
  11. package/.editorconfig +0 -13
  12. package/.github/ISSUE_TEMPLATE.md +0 -32
  13. package/.github/PULL_REQUEST_TEMPLATE.md +0 -29
  14. package/.jshintrc +0 -31
  15. package/.npmignore +0 -6
  16. package/.travis.yml +0 -22
  17. package/CONTRIBUTING.md +0 -74
  18. package/Gruntfile.js +0 -142
  19. package/bower.json +0 -25
  20. package/demo/css/main.css +0 -152
  21. package/demo/css/main.min.css +0 -1
  22. package/demo/images/flickr.png +0 -0
  23. package/demo/images/footer_background.jpg +0 -0
  24. package/demo/images/icon_js.png +0 -0
  25. package/demo/images/icon_speech.png +0 -0
  26. package/demo/images/icon_user.png +0 -0
  27. package/demo/images/mini_icon_say.png +0 -0
  28. package/demo/images/palette.png +0 -0
  29. package/demo/images/tpscover.jpg +0 -0
  30. package/demo/index.html +0 -233
  31. package/demo/vendor/css/default.css +0 -135
  32. package/demo/vendor/css/github.css +0 -127
  33. package/demo/vendor/css/tomorrow.css +0 -49
  34. package/demo/vendor/html/github-btn.html +0 -243
  35. package/demo/vendor/js/highlight.pack.js +0 -1
  36. package/dist/annyang.min.js +0 -7
  37. package/docs/FAQ.md +0 -186
  38. package/docs/README.md +0 -336
  39. package/sites/README.md +0 -6
  40. package/sites/facebook.js +0 -123
  41. package/sites/facebook.min.js +0 -12
  42. package/sites/geektime.js +0 -108
  43. package/sites/geektime.min.js +0 -12
  44. package/src/annyang.js +0 -680
  45. package/test/SpecRunner.html +0 -41
  46. package/test/init_corti.js +0 -1
  47. package/test/spec/.jshintrc +0 -40
  48. package/test/spec/BasicSpec.js +0 -1616
  49. package/test/spec/IssuesSpec.js +0 -41
  50. package/test/vendor/corti.js +0 -202
package/bower.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "name": "annyang",
3
- "description": "A javascript library for adding voice commands to your site, using speech recognition",
4
- "main": "dist/annyang.min.js",
5
- "keywords": [
6
- "annyang",
7
- "annyang.js",
8
- "speechrecognition",
9
- "webkitspeechrecognition",
10
- "voice",
11
- "speech",
12
- "recognition"
13
- ],
14
- "author": "Tal Ater <tal@talater.com> (https://www.talater.com/)",
15
- "license": "MIT",
16
- "ignore": [
17
- "**/.*",
18
- "node_modules",
19
- "Gruntfile.js",
20
- "package.json",
21
- "bower.json",
22
- "demo",
23
- "sites"
24
- ]
25
- }
package/demo/css/main.css DELETED
@@ -1,152 +0,0 @@
1
- body {
2
- background: url('../images/palette.png') repeat-x 0 -2px;
3
- font: 14px/1.6 helvetica, sans-serif;
4
- margin: 0 0;
5
- padding: 0 0;
6
- color: #333;
7
- }
8
-
9
- .hidden {
10
- display: none;
11
- }
12
-
13
- a, a:visited {
14
- color: #90b8de;
15
- text-decoration: underline;
16
- }
17
- a:hover {
18
- text-decoration: none;
19
- }
20
-
21
- h2 {
22
- font-size: 2em;
23
- }
24
-
25
- pre code a, pre code a:visited {
26
- color: #00f;
27
- }
28
-
29
- #tpsreport {
30
- position: fixed;
31
- z-index: 1000;
32
- bottom: -500px;
33
- right: 10px;
34
- -webkit-transform: rotate(-15deg);
35
- -moz-transform: rotate(-15deg);
36
- -ms-transform: rotate(-15deg);
37
- -o-transform: rotate(-15deg);
38
- transform: rotate(-15deg);
39
- -webkit-box-shadow: 2px 1px 6px 1px #555;
40
- box-shadow: 2px 1px 6px 1px #555;
41
- }
42
- #section_header h2 {
43
- margin: 5px 0;
44
- font-size: 20px;
45
- line-height: 30px;
46
- font-weight: 400;
47
- }
48
-
49
- pre code {
50
- overflow: scroll;
51
- padding: 10px 20px!important;
52
- margin-left: 50px;
53
- }
54
- h1 em {
55
- font-weight: 800;
56
- margin-right: 9px;
57
- }
58
- h1 {
59
- font-weight: 400;
60
- font-size: 40px;
61
- line-height: 41px;
62
- margin: 25px 0;
63
- }
64
- p em {
65
- font-weight: 600;
66
- font-size: 23px;
67
- line-height: 45px;
68
- }
69
- p.voice_instructions {
70
- background: url('../images/mini_icon_say.png') no-repeat 0 6px;
71
- padding-left: 24px;
72
- }
73
- #hello {
74
- font-size: 2.5em;
75
- font-weight: 600;
76
- }
77
- #flickrLoader p {
78
- background: url('../images/flickr.png') no-repeat 0 7px;
79
- padding-left: 39px;
80
- }
81
- #flickrLoader {
82
- height: 40px;
83
- }
84
- section {
85
- padding: 3% 10%;
86
- font-size: 20px;
87
- line-height: 30px;
88
- font-weight: 400;
89
- }
90
- #section_header img {
91
- margin: 30px 50px 0;
92
- }
93
- #section_header {
94
- padding-top: 70px;
95
- text-align: center;
96
- }
97
- #section_hello {
98
- background-color: #1abc96;
99
- color: #fff;
100
- }
101
- #section_image_search {
102
- background-color: #407eb8;
103
- color: #fff;
104
- }
105
- #section_biz_use {
106
- background-color: #95a5a6;
107
- color: #fff;
108
- }
109
- #section_footer {
110
- background: #000 url('../images/footer_background.jpg') repeat-x top center;
111
- background-size: auto 100%;
112
- text-align: center;
113
- background-color: #34495d;
114
- color: #fff;
115
- padding: 2% 10%;
116
- }
117
- div.social{
118
- margin-top: 40px;
119
- }
120
- div.copyright{
121
- margin-top: 50px;
122
- font-size: 12px;
123
- line-height: 18px;
124
- font-weight: 100;
125
- }
126
- div#unsupported {
127
- text-align: center;
128
- position: fixed;
129
- bottom: 0;
130
- width: 100%;
131
- max-height: 60%;
132
- color: #b94a48;
133
- background-color: #f2dede;
134
- border: 1px solid #eed3d7;
135
- -webkit-box-shadow: -32px -50px 109px rgba(0, 0, 0, 0.92);
136
- -moz-box-shadow: -32px -50px 109px rgba(0, 0, 0, 0.92);
137
- box-shadow: -32px -50px 109px rgba(0, 0, 0, 0.92);
138
- font-size: 1.3em;
139
- line-height: 1.4em;
140
- padding-bottom: 10px;
141
- }
142
- div#unsupported a, div#unsupported a:visited {
143
- color: #b94a48;
144
- font-weight: bold;
145
- }
146
- div#unsupported h4 {
147
- font-size: 1.5em;
148
- margin: 15px 0 10px 0;
149
- }
150
- div#unsupported p {
151
- line-height: 20px;
152
- }
@@ -1 +0,0 @@
1
- body{background:url(../images/palette.png) 0 -2px repeat-x;font:14px/1.6 helvetica,sans-serif;margin:0;padding:0;color:#333}.hidden{display:none}a,a:visited{color:#90b8de;text-decoration:underline}a:hover{text-decoration:none}h2{font-size:2em}pre code a,pre code a:visited{color:#00f}#tpsreport{position:fixed;z-index:1000;bottom:-500px;right:10px;-webkit-transform:rotate(-15deg);-moz-transform:rotate(-15deg);-ms-transform:rotate(-15deg);-o-transform:rotate(-15deg);transform:rotate(-15deg);-webkit-box-shadow:2px 1px 6px 1px #555;box-shadow:2px 1px 6px 1px #555}#section_header h2{margin:5px 0;font-size:20px;line-height:30px;font-weight:400}pre code{overflow:scroll;padding:10px 20px!important;margin-left:50px}h1 em{font-weight:800;margin-right:9px}h1{font-weight:400;font-size:40px;line-height:41px;margin:25px 0}#hello,p em{font-weight:600}p em{font-size:23px;line-height:45px}p.voice_instructions{background:url(../images/mini_icon_say.png) 0 6px no-repeat;padding-left:24px}#hello{font-size:2.5em}#flickrLoader p{background:url(../images/flickr.png) 0 7px no-repeat;padding-left:39px}#flickrLoader{height:40px}section{padding:3% 10%;font-size:20px;line-height:30px;font-weight:400}#section_header img{margin:30px 50px 0}#section_header{padding-top:70px;text-align:center}#section_hello{background-color:#1abc96;color:#fff}#section_image_search{background-color:#407eb8;color:#fff}#section_biz_use{background-color:#95a5a6;color:#fff}#section_footer{background:url(../images/footer_background.jpg) top center repeat-x #34495d;background-size:auto 100%;text-align:center;color:#fff;padding:2% 10%}div.social{margin-top:40px}div.copyright{margin-top:50px;font-size:12px;line-height:18px;font-weight:100}div#unsupported{text-align:center;position:fixed;bottom:0;width:100%;max-height:60%;color:#b94a48;background-color:#f2dede;border:1px solid #eed3d7;-webkit-box-shadow:-32px -50px 109px rgba(0,0,0,.92);-moz-box-shadow:-32px -50px 109px rgba(0,0,0,.92);box-shadow:-32px -50px 109px rgba(0,0,0,.92);font-size:1.3em;line-height:1.4em;padding-bottom:10px}div#unsupported a,div#unsupported a:visited{color:#b94a48;font-weight:700}div#unsupported h4{font-size:1.5em;margin:15px 0 10px}div#unsupported p{line-height:20px}pre .addition,pre .aggregate,pre .apache .cbracket,pre .apache .tag,pre .bash .variable,pre .constant,pre .django .variable,pre .erlang_repl .function_or_atom,pre .flow,pre .markdown .header,pre .parent,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .rules .value,pre .rules .value .number,pre .smalltalk .class,pre .stream,pre .string,pre .tag .value,pre .template_tag,pre .tex .command,pre .tex .special,pre .title{color:#800}pre .annotation,pre .chunk,pre .comment,pre .diff .header,pre .markdown .blockquote,pre .template_comment{color:#888}pre .change,pre .date,pre .go .constant,pre .literal,pre .markdown .bullet,pre .markdown .link_url,pre .number,pre .regexp,pre .smalltalk .char,pre .smalltalk .symbol{color:#080}pre .apache .sqbracket,pre .array,pre .attr_selector,pre .clojure .attribute,pre .coffeescript .property,pre .decorator,pre .deletion,pre .doctype,pre .envvar,pre .erlang_repl .reserved,pre .filter .argument,pre .important,pre .javadoc,pre .label,pre .localvars,pre .markdown .link_label,pre .nginx .built_in,pre .pi,pre .prompt,pre .pseudo,pre .ruby .string,pre .shebang,pre .tex .formula,pre .vhdl .attribute{color:#88F}pre .aggregate,pre .apache .tag,pre .bash .variable,pre .built_in,pre .css .tag,pre .go .typename,pre .id,pre .javadoctag,pre .keyword,pre .markdown .strong,pre .phpdoc,pre .request,pre .smalltalk .class,pre .status,pre .tex .command,pre .title,pre .winutils,pre .yardoctag{font-weight:700}pre .markdown .emphasis{font-style:italic}pre .nginx .built_in{font-weight:400}pre .coffeescript .javascript,pre .javascript .xml,pre .tex .formula,pre .xml .cdata,pre .xml .css,pre .xml .javascript,pre .xml .vbscript{opacity:.5}pre code{display:block;color:#333;background:#f8f8ff}pre .comment,pre .diff .header,pre .javadoc,pre .template_comment{color:#998;font-style:italic}pre .css .rule .keyword,pre .javascript .title,pre .keyword,pre .nginx .title,pre .request,pre .status,pre .subst,pre .winutils{color:#333;font-weight:700}pre .hexcolor,pre .number,pre .ruby .constant{color:#099}pre .phpdoc,pre .string,pre .tag .value,pre .tex .formula{color:#d14}pre .id,pre .title{color:#900;font-weight:700}pre .clojure .title,pre .javascript .title,pre .lisp .title,pre .subst{font-weight:400}pre .class .title,pre .haskell .type,pre .tex .command,pre .vhdl .literal{color:#458;font-weight:700}pre .django .tag .keyword,pre .rules .property,pre .tag,pre .tag .title{color:navy;font-weight:400}pre .attribute,pre .lisp .body,pre .variable{color:teal}pre .regexp{color:#009926}pre .class{color:#458;font-weight:700}pre .lisp .keyword,pre .prompt,pre .ruby .symbol .string,pre .symbol,pre .tex .special{color:#990073}pre .built_in,pre .clojure .built_in,pre .lisp .title{color:#0086b3}pre .cdata,pre .doctype,pre .pi,pre .preprocessor,pre .shebang{color:#999;font-weight:700}pre .deletion{background:#fdd}pre .addition{background:#dfd}pre .diff .change{background:#0086b3}pre .chunk{color:#aaa}
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/demo/index.html DELETED
@@ -1,233 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>annyang! Easily add speech recognition to your site</title>
5
- <meta name="description" content="annyang is a JavaScript SpeechRecognition library that makes adding voice commands to your site super-easy. Let your users control your site with their voice." />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <meta property="og:image" content="https://www.talater.com/annyang/images/icon_speech.png"/>
8
- <meta property="og:title" content="annyang! Easily add speech recognition to your site"/>
9
- <meta property="og:url" content="https://www.talater.com/annyang/"/>
10
- <meta property="og:site_name" content="annyang"/>
11
- <meta property="fb:admins" content="568390229" />
12
- <script>
13
- var annyangScript = document.createElement('script');
14
- if (/localhost/.exec(window.location)) {
15
- annyangScript.src = "//localhost:8443/dist/annyang.js"
16
- } else {
17
- annyangScript.src = "//cdnjs.cloudflare.com/ajax/libs/annyang/2.6.0/annyang.min.js"
18
- }
19
- document.write(annyangScript.outerHTML)
20
- </script>
21
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
22
- <script>
23
- "use strict";
24
-
25
- // first we make sure annyang started succesfully
26
- if (annyang) {
27
-
28
- // define the functions our commands will run.
29
- var hello = function() {
30
- $("#hello").slideDown("slow");
31
- scrollTo("#section_hello");
32
- };
33
-
34
- var showFlickr = function(tag) {
35
- $('#flickrGallery').show();
36
- $('#flickrLoader p').text('Searching for '+tag).fadeIn('fast');
37
- var url = '//api.flickr.com/services/rest/?method=flickr.photos.search&api_key=a828a6571bb4f0ff8890f7a386d61975&sort=interestingness-desc&per_page=9&format=json&callback=jsonFlickrApi&tags='+tag;
38
- $.ajax({
39
- type: 'GET',
40
- url: url,
41
- async: false,
42
- jsonpCallback: 'jsonFlickrApi',
43
- contentType: "application/json",
44
- dataType: 'jsonp'
45
- });
46
- scrollTo("#section_image_search");
47
- };
48
-
49
- var jsonFlickrApi = function(results) {
50
- $('#flickrLoader p').fadeOut('slow');
51
- var photos = results.photos.photo;
52
- $.each(photos, function(index, photo) {
53
- $(document.createElement("img"))
54
- .attr({ src: '//farm'+photo.farm+'.staticflickr.com/'+photo.server+'/'+photo.id+'_'+photo.secret+'_s.jpg' })
55
- .addClass("flickrGallery")
56
- .appendTo(flickrGallery);
57
- });
58
- };
59
-
60
- var showTPS = function(type) {
61
- $('#tpsreport').show().animate({
62
- bottom: '-100px'
63
- }).delay('2000').animate({
64
- bottom: '-500px'
65
- });
66
- };
67
-
68
- var getStarted = function() {
69
- window.location.href = 'https://github.com/TalAter/annyang';
70
- }
71
-
72
- // define our commands.
73
- // * The key is the phrase you want your users to say.
74
- // * The value is the action to do.
75
- // You can pass a function, a function name (as a string), or write your function as part of the commands object.
76
- var commands = {
77
- 'hello (there)': hello,
78
- 'show me *search': showFlickr,
79
- 'show :type report': showTPS,
80
- 'let\'s get started': getStarted,
81
- };
82
-
83
- // OPTIONAL: activate debug mode for detailed logging in the console
84
- annyang.debug();
85
-
86
- // Add voice commands to respond to
87
- annyang.addCommands(commands);
88
-
89
- // OPTIONAL: Set a language for speech recognition (defaults to English)
90
- // For a full list of language codes, see the documentation:
91
- // https://github.com/TalAter/annyang/blob/master/docs/FAQ.md#what-languages-are-supported
92
- annyang.setLanguage('en');
93
-
94
- // Start listening. You can call this here, or attach this call to an event, button, etc.
95
- annyang.start();
96
- } else {
97
- $(document).ready(function() {
98
- $('#unsupported').fadeIn('fast');
99
- });
100
- }
101
-
102
- var scrollTo = function(identifier, speed) {
103
- $('html, body').animate({
104
- scrollTop: $(identifier).offset().top
105
- }, speed || 1000);
106
- }
107
- </script>
108
- <link rel="stylesheet" href="css/main.min.css" />
109
- </head>
110
- <body>
111
- <section id="section_header">
112
- <h1><em>annyang!</em> SpeechRecognition that just works</h1>
113
- <h2>annyang is a tiny javascript library that lets your visitors control your site with voice commands.</h2>
114
- <h2>annyang supports multiple languages, has no dependencies, weighs just 2kb and is free to use.</h2>
115
- <img src="images/icon_user.png">
116
- <img src="images/icon_speech.png">
117
- <img src="images/icon_js.png">
118
- </section>
119
- <section id="section_hello">
120
- <p><em>Go ahead, try it&hellip;</em></p>
121
- <p class="voice_instructions">Say "Hello!"</p>
122
- <p id="hello" class="hidden">Annyang!</p>
123
- </section>
124
- <section id="section_image_search">
125
- <p><em>Let's try something more interesting&hellip;</em></p>
126
- <p class="voice_instructions">Say "Show me cute kittens!"</p>
127
- <p class="voice_instructions">Say "Show me Arches National Park!"</p>
128
- <p class="voice_instructions">Now go wild. Say "Show me&hellip;" and make your demands!</p>
129
- <div id="flickrLoader"><p></p></div>
130
- <div id="flickrGallery" class="hidden"></div>
131
- </section>
132
- <section id="section_biz_use">
133
- <p><em>That's cool, but in the real world it's not all kittens and hello world.</em></p>
134
- <p class="voice_instructions">No problem, say "Show TPS report"</p>
135
- <img src="images/tpscover.jpg" id="tpsreport" class="hidden">
136
- </section>
137
- <section id="section_code_sample_1">
138
- <p><em>How did you do that?</em></p>
139
- <p>Simple. Here is all the code needed to achieve that:</p>
140
- <pre><code>&lt;script src="<a href="//cdnjs.cloudflare.com/ajax/libs/annyang/2.6.0/annyang.min.js">//cdnjs.cloudflare.com/ajax/libs/annyang/2.6.0/annyang.min.js</a>"&gt;&lt;/script&gt;
141
- &lt;script&gt;
142
- if (annyang) {
143
- // Let's define our first command. First the text we expect, and then the function it should call
144
- var commands = {
145
- 'show tps report': function() {
146
- $('#tpsreport').animate({bottom: '-100px'});
147
- }
148
- };
149
-
150
- // Add our commands to annyang
151
- annyang.addCommands(commands);
152
-
153
- // Start listening. You can call this here, or attach this call to an event, button, etc.
154
- annyang.start();
155
- }
156
- &lt;/script&gt;</code></pre>
157
- </section>
158
- <section id="section_named_and_splats">
159
- <p><em>What about more complicated commands?</em></p>
160
- <p>annyang understands commands with <strong>named variables</strong>, <strong>splats</strong>, and <strong>optional words</strong>.</p>
161
- <p>Use <strong>named variables</strong> for one word arguments in your command.</p>
162
- <p>Use <strong>splats</strong> to capture multi-word text at the end of your command (greedy).</p>
163
- <p>Use <strong>optional words or phrases</strong> to define a part of the command as optional.</p>
164
- <pre><code>&lt;script&gt;
165
- var commands = {
166
- // annyang will capture anything after a splat (*) and pass it to the function.
167
- // e.g. saying "Show me Batman and Robin" is the same as calling showFlickr('Batman and Robin');
168
- 'show me *tag': showFlickr,
169
-
170
- // A named variable is a one word variable, that can fit anywhere in your command.
171
- // e.g. saying "calculate October stats" will call calculateStats('October');
172
- 'calculate :month stats': calculateStats,
173
-
174
- // By defining a part of the following command as optional, annyang will respond to both:
175
- // "say hello to my little friend" as well as "say hello friend"
176
- 'say hello (to my little) friend': greeting
177
- };
178
-
179
- var showFlickr = function(tag) {
180
- var url = 'http://api.flickr.com/services/rest/?tags='+tag;
181
- $.getJSON(url);
182
- }
183
-
184
- var calculateStats = function(month) {
185
- $('#stats').text('Statistics for '+month);
186
- }
187
-
188
- var greeting = function() {
189
- $('#greeting').text('Hello!');
190
- }
191
-
192
- &lt;/script&gt;</code></pre>
193
- </section>
194
- <section id="section_docs">
195
- <p><em>What about browser support?</em></p>
196
- <p>annyang plays nicely with all browsers, progressively enhancing browsers that support SpeechRecognition, while leaving users with older browsers unaffected.</p>
197
- </section>
198
- <section id="section_footer">
199
- <h2>Ready to get started?</h2>
200
- <p>Grab the latest version of <a href="https://github.com/TalAter/annyang">annyang.min.js</a>, drop it in your html, and start adding commands.</p>
201
- <p>You can also visit annyang on <a href="https://github.com/TalAter/annyang">GitHub</a>, and read the full <a href="https://github.com/TalAter/annyang/blob/master/docs/README.md">API documentation</a> or <a href="https://github.com/TalAter/annyang/blob/master/docs/FAQ.md">FAQ</a>.</p>
202
- <div class="social">
203
- <iframe src="vendor/html/github-btn.html?user=TalAter&repo=annyang&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="152px" height="30px"></iframe>
204
- <span style="margin-left: 25px;"><a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.annyangjs.com" data-counturl="https://www.talater.com/annyang" data-via="TalAter" data-size="large" data-lang="en" data-count="horizontal" data-text="annyang! A javascript library that lets your users talk to your site, giving it voice commands">Tweet</a></span>
205
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
206
- <iframe src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.talater.com%2Fannyang%2F&width=134&layout=button_count&action=like&show_faces=false&share=true&height=46&appId=263514670331109" width="134" height="25" style="border:none;overflow:hidden;margin-left: 30px" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
207
- </div>
208
- <div class="copyright">
209
- <p>&copy; 2016 Tal Ater. All rights reserved. The annyang source code is free to use under the <a href="https://raw.github.com/TalAter/annyang/master/LICENSE">MIT license</a>.</p>
210
- <p>Tal Ater retains creative control, spin-off rights and theme park approval for Mr. Banana Grabber, Baby Banana Grabber, and any other Banana Grabber family character that might emanate there from.</p>
211
- </div>
212
- </section>
213
- <div id="unsupported" class="hidden">
214
- <h4>It looks like your browser doesn't support speech recognition.</h4>
215
- <p>annyang plays nicely with all browsers, progressively enhancing modern browsers that support the SpeechRecognition standard, while leaving users with older browsers unaffected.</p>
216
- <p>Please visit <a href="http://www.annyangjs.com/">http://www.annyangjs.com/</a> in a desktop browser like Chrome.</p>
217
- </div>
218
- <script>
219
- var _gaq = _gaq || [];
220
- _gaq.push(['_setAccount', 'UA-24775009-1']);
221
- _gaq.push(['_trackPageview']);
222
- (function() {
223
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
224
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
225
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
226
- })();
227
- </script>
228
- <script src="./vendor/js/highlight.pack.js"></script>
229
- <script>
230
- hljs.initHighlightingOnLoad();
231
- </script>
232
- </body>
233
- </html>
@@ -1,135 +0,0 @@
1
- /*
2
-
3
- Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
4
-
5
- */
6
-
7
- pre code {
8
- display: block; padding: 0.5em;
9
- background: #F0F0F0;
10
- }
11
-
12
- pre code,
13
- pre .subst,
14
- pre .tag .title,
15
- pre .lisp .title,
16
- pre .clojure .built_in,
17
- pre .nginx .title {
18
- color: black;
19
- }
20
-
21
- pre .string,
22
- pre .title,
23
- pre .constant,
24
- pre .parent,
25
- pre .tag .value,
26
- pre .rules .value,
27
- pre .rules .value .number,
28
- pre .preprocessor,
29
- pre .ruby .symbol,
30
- pre .ruby .symbol .string,
31
- pre .aggregate,
32
- pre .template_tag,
33
- pre .django .variable,
34
- pre .smalltalk .class,
35
- pre .addition,
36
- pre .flow,
37
- pre .stream,
38
- pre .bash .variable,
39
- pre .apache .tag,
40
- pre .apache .cbracket,
41
- pre .tex .command,
42
- pre .tex .special,
43
- pre .erlang_repl .function_or_atom,
44
- pre .markdown .header {
45
- color: #800;
46
- }
47
-
48
- pre .comment,
49
- pre .annotation,
50
- pre .template_comment,
51
- pre .diff .header,
52
- pre .chunk,
53
- pre .markdown .blockquote {
54
- color: #888;
55
- }
56
-
57
- pre .number,
58
- pre .date,
59
- pre .regexp,
60
- pre .literal,
61
- pre .smalltalk .symbol,
62
- pre .smalltalk .char,
63
- pre .go .constant,
64
- pre .change,
65
- pre .markdown .bullet,
66
- pre .markdown .link_url {
67
- color: #080;
68
- }
69
-
70
- pre .label,
71
- pre .javadoc,
72
- pre .ruby .string,
73
- pre .decorator,
74
- pre .filter .argument,
75
- pre .localvars,
76
- pre .array,
77
- pre .attr_selector,
78
- pre .important,
79
- pre .pseudo,
80
- pre .pi,
81
- pre .doctype,
82
- pre .deletion,
83
- pre .envvar,
84
- pre .shebang,
85
- pre .apache .sqbracket,
86
- pre .nginx .built_in,
87
- pre .tex .formula,
88
- pre .erlang_repl .reserved,
89
- pre .prompt,
90
- pre .markdown .link_label,
91
- pre .vhdl .attribute,
92
- pre .clojure .attribute,
93
- pre .coffeescript .property {
94
- color: #88F
95
- }
96
-
97
- pre .keyword,
98
- pre .id,
99
- pre .phpdoc,
100
- pre .title,
101
- pre .built_in,
102
- pre .aggregate,
103
- pre .css .tag,
104
- pre .javadoctag,
105
- pre .phpdoc,
106
- pre .yardoctag,
107
- pre .smalltalk .class,
108
- pre .winutils,
109
- pre .bash .variable,
110
- pre .apache .tag,
111
- pre .go .typename,
112
- pre .tex .command,
113
- pre .markdown .strong,
114
- pre .request,
115
- pre .status {
116
- font-weight: bold;
117
- }
118
-
119
- pre .markdown .emphasis {
120
- font-style: italic;
121
- }
122
-
123
- pre .nginx .built_in {
124
- font-weight: normal;
125
- }
126
-
127
- pre .coffeescript .javascript,
128
- pre .javascript .xml,
129
- pre .tex .formula,
130
- pre .xml .javascript,
131
- pre .xml .vbscript,
132
- pre .xml .css,
133
- pre .xml .cdata {
134
- opacity: 0.5;
135
- }