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
<?xml version=\"1.0\"?> | |
<smil> | |
<head> | |
<layout> | |
<region xml:id=\"root\" width=\"100%\" height=\"100%\" /> | |
</layout> | |
</head> | |
<body> | |
<a href=\"http://angryamoeba.co.uk\" id=\"directlink\"> | |
<video id=\"direct\" src=\"http://media.smilkit.org/demo.mp4\" /> |
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
1. handlers aren't dereferenced from the rendertree when removed from the DOM | |
2. handlers aren't synced when added | |
GOOD SEEK | |
[smilkit-as3][info] Playback state set to to playbackSeeking. on '[object Viewport]' | |
[smilkit-as3][info] Completed changing playback state to PLAYBACK_SEEKING with offset: 47334. on '[object Viewport]' | |
[smilkit-as3][debug] Worker : JustInTime Worker : Shutting down. on '[object Worker]' | |
[smilkit-as3][debug] Worker : Resolve Worker : Priority worker shut down. Shutting down in turn. on '[object Worker]' | |
[smilkit-as3][debug] Heartbeat paused. on '[object Heartbeat]' |
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
// Create the logger singleton | |
window.logger = { | |
"messages": [], | |
"debug": function(msg, object) { window.logger.log("debug", msg, object); }, | |
"warn": function(msg, object) { window.logger.log("warn", msg, object); }, | |
"error": function(msg, object) { window.logger.log("error", msg, object); }, | |
"log": function(level, msg, object) { | |
window.logger.render(level, msg, object) | |
window.logger.messages.push([level, msg, object]); | |
}, |
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
foo |
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
[Test(async, description="Ensures that properties with a defined transition and non-zero duration are not altered immediately")] | |
public function transitionsWithDurationsAreAnimated():void | |
{ | |
var el:UIElement = new UIElement(); | |
el.localStyleString = "transition-property: padding-left; transition-duration: 2s; transition-delay: 1s; transition-timing-function: linear; padding-left: 10px;"; | |
Assert.assertTrue(el.shouldTransitionProperty("padding-left")); | |
Assert.assertFalse(el.shouldTransitionProperty("padding-right")); |
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
package org.stylekit.spec.tests.css.value | |
{ | |
import flexunit.framework.Assert; | |
import flexunit.framework.AsyncTestHelper; | |
import org.flexunit.async.Async; | |
import org.stylekit.css.value.SizeValue; | |
public class SizeValueTestCase { |
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
public function parseElementSelector(selector:String):ElementSelector | |
{ | |
var elementSelector:ElementSelector = new ElementSelector(); | |
var str:String = StringUtil.trim(selector); | |
var parserPreviousState:uint = 0; | |
var parserCurrentState:uint = ElementSelectorParser.ELEMENT_NAME; | |
var token:String = ""; | |
var tokenBuilt:Boolean = 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
class Base < ::Liquid::Block | |
@@xml_id_registry = {} | |
def self.reset!; @@xml_id_registry = {}; end | |
def initialize(tag_name, attributes, tokens) | |
super | |
@attributes ||= process_attributes(attributes) | |
@tokens = tokens | |
end |
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
public function syncHandlersToViewportOffset():void | |
{ | |
// Cancel any running sync operations | |
if(this._waitingForSync) | |
{ | |
Logger.debug("Asked to start a sync operation, but one is already in progress. Cancelling existing sync operation.", this); | |
this.cancelOffsetSync(); | |
} | |
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
smilkit-as3-player.swfResource interpreted as document but transferred with MIME type application/x-shockwave-flash. | |
[Debug] Resetting the DrawingBoard and Canvas state on '[object DrawingBoard]' | |
[Info] Playback state set to to playbackPaused. on '[object Viewport]' | |
[Info] Completed changing playback state to PLAYBACK_PAUSED. on '[object Viewport]' | |
[Info] About to refresh with remote URL: http://sixty.im/regions.smil on '[object Viewport]' | |
[Debug] Heartbeat resetting. on '[object Heartbeat]' | |
[Debug] Removed drawn regions on '[object DrawingBoard]' | |
[Debug] Resetting the DrawingBoard and Canvas state on '[object DrawingBoard]' | |
[Debug] Re-drawn 4 regions to the DrawingBoard's Canvas on '[object DrawingBoard]' | |
[Debug] Handler added to RenderTree during update at 0ms on '[object HTTPVideoHandler]' |