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-element name="ceci-button" attributes="label" | |
extends="ceci-element" label="Click Me"> | |
<template> | |
<style> | |
:host { | |
display: block; | |
width: 100%; | |
} | |
</style> | |
<button id="button" on-click="{{onClick}}"> |
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
<ceci-app> | |
<ceci-card> | |
<ceci-fireworks /> | |
<ceci-button /> | |
</ceci-card> | |
</ceci-app> |
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
@@ -422,11 +422,16 @@ define('api/sketchfab-iframe',[ "vendors/q/q.min"], function( Q ) { | |
this._events[data.status] = undefined; | |
} | |
} else { | |
- if (this._events[data.status].resolve !== undefined) { | |
- this._events[data.status].resolve(data); | |
- if (clear) { | |
- this._events[data.status] = undefined; | |
+ // XXXsecretrobotron: Added an extra `if` layer to protect against unexpected empty `_events` properties. | |
+ if (this._events[data.status]) { |
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
} | |
return fragment; | |
}, | |
transitionEndWrapper: (function() { | |
var div = document.createElement( "div" ), | |
p, | |
pre = [ "ms", "O", "Webkit", "Moz", "" ]; |
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
transitionEndWrapper: (function() { | |
var div = document.createElement( "div" ), | |
p, | |
pre = [ "ms", "O", "Webkit", "Moz", "" ]; | |
for ( p in pre ) { | |
if ( div.style[ pre[ p ] + "Transition" ] !== undefined ) { | |
return function( element, listener ) { | |
element.addEventListener( "transitionend", listener, false ); | |
element.addEventListener( "oTransitionEnd", listener, false ); | |
element.addEventListener( "WebkitTransitionEnd", listener, 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
https://dl.dropbox.com/u/26786471/examples/webgl_animation_skinning_test4.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
<div id="beep"></div> | |
<script> | |
var beep = document.getElementById('beep'); | |
var video; | |
for ( var i = 0; i < 150; i++ ) { | |
video = document.createElement('video'); | |
video.src = 'http://localhost:8888/external/popcorn-js/test/trailer.ogv?' + Date.now(); | |
beep.appendChild(video); | |
} | |
</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
document.addEventListener( "DOMContentLoaded", function( e ){ | |
Butter(); | |
}, 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
<html> | |
<head> | |
<script type="text/javascript"> | |
function dosub() | |
{ | |
document.getElementById("frm1").submit(); | |
} | |
</script> | |
</head> |