<style>
html, body{
width: 100%;
height: 100%;
margin: 0;
font-family: helvetica, arial, sans-serif;
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Min-width/Max-with prollyfill in JS</title> | |
| <!-- link up the latest hitchjs --> | |
| <script src="http://hitchjs.com/dist/hitch-0.6.3.min.js"></script> | |
| <!-- mark a style or link tag with the data-hitch-interpret flag --> | |
| <style data-hitch-interpret> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="//hitchjs.com/dist/hitch-0.6.3.js"></script> | |
| <script> | |
| /* | |
| You can do this manually via imperative API before CSS, but generally you would | |
| use @-hitch-requires in your CSS to keep a declarative link between the | |
| selector implementations and the CSS | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <style> | |
| @keyframes nodeInserted { | |
| from { | |
| clip: rect(1px, auto, auto, auto); | |
| } | |
| to { | |
| clip: rect(0px, auto, auto, auto); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var results = []; | |
| function resultReceiver(event) { | |
| results.push(parseInt(event.data)); | |
| if (results.length == 2) { | |
| postMessage(results[0] + results[1]); | |
| } | |
| } | |
| function errorReceiver(event) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script> | |
| var start = Date.now(), | |
| live, | |
| contentLoaded, | |
| report = function (str, cb) { | |
| console.log(str); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <link type="text/promised-json" | |
| data-src="https://rawgithub.com/gnip/764239/raw/6c6a2297f3e4e29a626f07db0c57b45af7d7e5d7/Twitter+%28json+format%29.js" | |
| data-promise="my.twitter.data"> | |
| <link type="text/promised-script" | |
| data-src="https://rawgithub.com/wycats/handlebars.js/1.0.0/dist/handlebars.js" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Test</title> | |
| <script src="../oasis/javascript/oasis.js.html"></script> | |
| </head> | |
| <body> | |
| <textarea rows="40" cols="80" id="results"></textarea> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Manifest URI: http://127.0.0.1/~bkardell/iframes/child.appcache | |
| URI http://127.0.0.1/~bkardell/iframes/file1.js is referenced in multiple locations. This is not allowed: [{"line":7,"section":"CACHE","original":"file1.js"},{"line":11,"section":"NETWORK","original":"file1.js"}]. | |
| NETWORK section line 11 (file1.js) prevents caching of line 7 (file1.js) in the CACHE section. | |
| NETWORK section line 11 (file1.js) prevents caching of line 11 (file1.js) in the NETWORK section. | |
| NETWORK section line 12 (file2.js) prevents caching of line 12 (file2.js) in the NETWORK section. | |
| The file http://127.0.0.1/~bkardell/iframes/file2.js was modified after http://127.0.0.1/~bkardell/iframes/child.appcache. Unless the text in the manifest file is changed the cached version will be used instead at line 12. | |
| NETWORK section line 13 (jquery.min.js) prevents caching of line 13 (jquery.min.js) in the NETWORK section. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>simple</title> | |
| <script src="https://rawgithub.com/x-tag/core/master/dist/x-tag-core.js"></script> | |
| <script> | |
| xtag.register("x-test", { | |
| lifecycle: { | |
| /* "Whenever a tag is recognized and parsed on load"... This won't fire in this test. */ | |
| created: function () { |