Sweet.
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
<template> | |
<table> | |
<thead> | |
<tr> | |
<content select="th"></content> | |
</tr> | |
</thead> | |
</table> | |
</template> |
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
Polymer('polymer-table', { | |
ready: function () { | |
var css = []; | |
var style = document.createElement('style'); | |
var nodeList = this.$.header.getDistributedNodes(); | |
var thList = nodeList[0].children[0].children; | |
[].forEach.call(thList, function (th, i) { | |
css.push( | |
':host.mobile td:nth-of-type('+(i + 1)+'):before {'+ |
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
{ | |
"interactive": false, | |
"remote": "upstream", | |
"repos": { | |
"jeresig/pulley": false | |
} | |
} |
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
{ | |
"name": "polymer-example", | |
"version": "0.0.0", | |
"authors": [ | |
"Rob Dodson <robdodson@google.com>" | |
], | |
"description": "An example Polymer project", | |
"keywords": [ | |
"polymer", | |
"web-components" |
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
<mark-down> | |
``` | |
def hello | |
end | |
``` | |
</mark-down> |
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> | |
<title>Paper Element Boilerplate</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> | |
<meta name="mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<script src="bower_components/platform/platform.js"></script> | |
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="../bower_components/polymer/polymer.html"> | |
<polymer-element name="drive-upload"> | |
<template> | |
<!--Add a file picker for the user to start the upload process --> | |
<input type="file" id="filePicker" style="display: none;"> | |
<input type="button" id="authorizeButton" style="display: none;" value="Authorize" /> | |
</template> | |
<script> | |
(function (window, document, undefined) { |
hi, this is a test of the github-element
OlderNewer