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
<html> | |
<head> | |
<script> | |
window.onload = (function () { | |
var infer = tern; | |
var code = document.querySelector(".javascript").innerHTML.trim(); | |
var cx = infer.withContext(new infer.Context(), function () { | |
//infer.findExpressionAround(cx.topScope.node, 293062, 294655, cx.topScope).node.body.scope | |
//infer.findExpressionAround(cx.topScope.node, 29037, 29271, cx.topScope).node.body.scope | |
var ccx = infer.cx(); |
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 Fennel = (function FennelMake () { | |
var Curry = function Curry () { | |
}; | |
Curry.prototype.method = {}; | |
Curry.prototype.context = {}; | |
Curry.prototype.params = (function paramsMake () { |
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
/* | |
* grunt-git-tag-parse | |
* https://github.com/dlasky/grunt-git-tag-parse | |
* | |
* Copyright (c) 2014 Dan Lasky | |
* Licensed under the MIT license. | |
*/ | |
'use strict'; |
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 Loco = (function LocoMake () { | |
var nadda = {}, | |
empty = {} | |
caboose = null, | |
Railcar = function Railcar () { | |
this.value = nadda; | |
this.deref = 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
/* | |
* Copyright 2013 The Polymer Authors. All rights reserved. | |
* Use of this source code is governed by a BSD-style | |
* license that can be found in the LICENSE file. | |
*/ | |
/** | |
* Implements `document.register` | |
* @module CustomElements | |
*/ |
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
// Copyright 2013 The Polymer Authors. All rights reserved. | |
// Use of this source code is goverened by a BSD-style | |
// license that can be found in the LICENSE file. | |
(function(scope) { | |
'use strict'; | |
var forwardMethodsToWrapper = scope.forwardMethodsToWrapper; | |
var getTreeScope = scope.getTreeScope; | |
var mixin = scope.mixin; |
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
requirejs.config({ | |
"baseUrl": "", | |
"paths": { | |
"ZeroClipboard": "http://cdnjs.cloudflare.com/ajax/libs/zeroclipboard/2.1.1/ZeroClipboard" | |
} | |
}); | |
requirejs(['ZeroClipboard'], function(ZeroClipboard) { | |
var client = new ZeroClipboard( document.getElementById("copy-button") ), | |
bridge = document.querySelector("#"+ZeroClipboard.config().swfObjectId), |
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
<html class="no-js -webkit-" lang="en"><!--<![endif]--> | |
<!-- Problem avoided if platform.js is not loaded --> | |
<script language="javascript" src="http://cdnjs.cloudflare.com/ajax/libs/polymer/0.3.3/platform.js"></script> | |
<script type="text/javascript"> | |
// version of platform.js does not seem to matter (in Firefox -- v30 for instance) |
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
// Copyright 2013 The Polymer Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
(function(scope) { | |
'use strict'; | |
var HTMLCollection = scope.wrappers.HTMLCollection; | |
var NodeList = scope.wrappers.NodeList; |
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
// | |
window.replay = (function (initial) { | |
var interval = null; | |
return (function repeat (setting) { | |
if (setting && !interval) { | |
interval = setInterval(function () { | |
var button = document.querySelector('[role="button"][aria-label="Replay"]'); | |
event; | |
if (button) { |
OlderNewer