This is my example git submodule.
View jsbin.puqalu.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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
</body> | |
</html> |
View designer.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
<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; |
View .gitmodules
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 |
View README.md
Shoot me now.
View component-binding.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
<!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> |
View README.md
Purpose
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.
View StrictModeTest.js
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}()); |
View table.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
<!DOCTYPE html> | |
<title>HTML 5 Table Example</title> | |
<table> | |
<caption>This is a table</caption> | |
<thead> | |
<tr> | |
<th>number | |
<th>value | |
<tfoot> | |
<tr> |
View dom-checkbox-label-test.js
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