Permalink
Browse files

Update built files (major test fixture maintenance)

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
  • Loading branch information...
1 parent 74615ab commit d6d6a088a31d4dbc54aff9ebcaa9d4336f97af7a @rwaldron rwaldron committed Aug 7, 2012
Showing with 600 additions and 250 deletions.
  1. +1 −1 dev/load.min.js
  2. +9 −10 dist/application.js
  3. +2 −2 dist/application.min.js
  4. +1 −1 dist/apptypes.js
  5. +44 −1 dist/h.js
  6. +2 −2 dist/h.min.js
  7. +1 −1 dist/performance.min.js
  8. +44 −1 dist/ringmark.js
  9. +2 −2 dist/ringmark.min.js
  10. +236 −109 dist/rings.js
  11. +2 −2 dist/rings.min.js
  12. +256 −118 dist/tests.js
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -13355,7 +13355,6 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
// when the runner is complete
var completed = 0;
-
Hat.on("runner:done", function( data ) {
var override;
@@ -13407,7 +13406,7 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
});
}
- if ( !$.fn.details.support ) {
+ if ( !$.fn.details.support && completed < 4 ) {
$("details").details();
}
});
@@ -13586,7 +13585,7 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
process();
}
- console.log( Rng.Store.get("browserscope"), Rng.params.device );
+ // console.log( Rng.Store.get("browserscope"), Rng.params.device );
// if browserscope data exists, regenerate immediately
@@ -13843,20 +13842,20 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
nodes.devices.querySelector("select").addEventListener("change", function() {
if ( this.value ) {
window.location = "/?device=" + encodeURIComponent(this.value);
- console.log( this.value );
+ // console.log( this.value );
}
});
}, 0);
});
- console.log( "Rng.Views.Default", this );
+ // console.log( "Rng.Views.Default", this );
}
};
// The "History" view, when accessed from rng.io/history
Rng.Views.History = {
init: function() {
- console.log( "INITIALIZE APP.VIEW: History" );
+ // console.log( "INITIALIZE APP.VIEW: History" );
$("[data-browserscope]").html(function() {
return Rng.Cache.get("browserscopekeys").first()[ $(this).data("browserscope") ];
@@ -13867,7 +13866,7 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
// The "Apps" view, when accessed from rng.io/apps
Rng.Views.Apps = {
init: function() {
- console.log( "INITIALIZE APP.VIEW: Apptypes", nodes );
+ // console.log( "INITIALIZE APP.VIEW: Apptypes", nodes );
var apptypes, features, html, results;
@@ -13901,7 +13900,7 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
});
// console.log( "appTypes", appTypes );
- console.log( "apptypes", apptypes );
+ // console.log( "apptypes", apptypes );
// Set an initial empty string value to `html`
@@ -13933,7 +13932,7 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
return apptype.ring === ring;
}).map(function( apptype ) {
- console.log( apptype, apptype.ring, apptype.name );
+ // console.log( apptype, apptype.ring, apptype.name );
// Return the fully rendered "apptype" fragment
return templates[ "apptype-tpl" ]({
@@ -14966,7 +14965,7 @@ App.register( "apptypes", [
"name": "Supplements to Web Apps",
"ring": 2,
"description": "These features apply to most web apps and make the user experience better.",
- "defer": true,
+ "defer": false,
"features": [
"cssborderimage",
"csselement",
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -145,7 +145,7 @@ App.register( "apptypes", [
"name": "Supplements to Web Apps",
"ring": 2,
"description": "These features apply to most web apps and make the user experience better.",
- "defer": true,
+ "defer": false,
"features": [
"cssborderimage",
"csselement",
View
@@ -1,4 +1,4 @@
-/*! Ringmark - v1.4.0pre - 8/6/2012
+/*! Ringmark - v1.4.0pre - 8/7/2012
* Copyright ( c ) 2012 Facebook Licensed W3C 3-clause BSD License, W3C Test Suite License */
(function( exports ) {
@@ -356,6 +356,49 @@
}
};
+ // Allow H.* Event as a facade over:
+ // - internal event system
+ // - DOM event system.
+ [
+ [ "on", "addEventListener" ],
+ [ "off", "removeEventListener" ]
+ ].forEach(function( set ) {
+ var alias, api, orig;
+
+ alias = set[0];
+ api = set[1];
+ orig = Hat[ alias ];
+
+ Hat[ alias ] = function() {
+ var target, type, handler, useCapture;
+
+ // The internal event system is a 2 parameter call:
+ // @param {string} target => type
+ // @param {function} name => handler
+ if ( typeof arguments[0] === "string" ) {
+ // type = target;
+ // handler = name;
+ return orig.apply( Hat, [].slice.call( arguments ) );
+ }
+
+ target = arguments[0];
+ type = arguments[1];
+ handler = arguments[2];
+ useCapture = arguments[3] || false;
+
+ // Bridge to DOM EventTarget APIs
+ // One of: addEventListener, removeEventListener
+ if ( target[ api ] ) {
+ // eg document.addEventListener( "click", handler, useCapture );
+ target[ api ].call( target, type, handler, useCapture );
+ }
+ };
+
+ });
+
+
+
+
Hat.results = {};
var currentRing = 0,
Oops, something went wrong.

0 comments on commit d6d6a08

Please sign in to comment.