This is my example git submodule.
This file contains 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
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<polymer-element name="kzh-typeahead"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
This file contains 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> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains 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
[submodule "sub"] | |
path = sub | |
url = git@gist.github.com:/cce0551e8ce7f1856196.git |
Shoot me now.
This file contains 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> | |
<meta charset="utf-8"> | |
<ul> | |
<li><a href=".">custom element</a></li> | |
<li><b>component binding</b></li> | |
<li><a href="template-binding.html">template binding</a></li> | |
</ul> | |
<hr /> | |
<div data-bind="component: 'custom-element'">custom element loading...</div> |
I would like to be able to have a Knockout custom component that can have either static content or dynamic content using the foreach binding.
This file contains 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 isStrictModeSupported = (function(){"use strict";return !this}()); |
This file contains 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> | |
<title>HTML 5 Table Example</title> | |
<table> | |
<caption>This is a table</caption> | |
<thead> | |
<tr> | |
<th>number | |
<th>value | |
<tfoot> | |
<tr> |
This file contains 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 lbl = document.createElement('label'), | |
chk = document.createElement('input'), | |
proto, lblOnClick; | |
chk.type = 'checkbox'; | |
chk.disabled = true; | |
lbl.appendElement(chk); | |
lbl.click(); | |
if (chk.checked) { | |
// Labels need to be fixed | |
proto = Object.getPrototypeOf(lbl); |
OlderNewer