diff --git a/performance/frameworks/topcoat-mobile.js b/performance/frameworks/topcoat-mobile.js new file mode 100644 index 0000000..1da1ded --- /dev/null +++ b/performance/frameworks/topcoat-mobile.js @@ -0,0 +1,56 @@ +module.exports = { + css: [ + "//cdnjs.cloudflare.com/ajax/libs/topcoat/0.8.0/css/topcoat-mobile-dark.css", + "//cdnjs.cloudflare.com/ajax/libs/topcoat-icons/0.2.0/font/icomatic.css" + ], + button: { + generator: function( options ) { + var button = ""; + }, + variations: { + type: [ + "", + "-icon" + ], + size: [ + "", + "--large" + ], + state: [ + "", + "--cta", + "--quiet" + + ], + icon: [ + "", + "location", + "home", + "alert" + ] + + } + } +}; diff --git a/performance/frameworks/topcoat.js b/performance/frameworks/topcoat.js new file mode 100644 index 0000000..a20301d --- /dev/null +++ b/performance/frameworks/topcoat.js @@ -0,0 +1,56 @@ +module.exports = { + css: [ + "//cdnjs.cloudflare.com/ajax/libs/topcoat/0.8.0/css/topcoat-desktop-dark.css", + "//cdnjs.cloudflare.com/ajax/libs/topcoat-icons/0.2.0/font/icomatic.css" + ], + button: { + generator: function( options ) { + var button = ""; + }, + variations: { + type: [ + "", + "-icon" + ], + size: [ + "", + "--large" + ], + state: [ + "", + "--cta", + "--quiet" + + ], + icon: [ + "", + "location", + "home", + "alert" + ] + + } + } +}; diff --git a/tasks/options/perfjankie.js b/tasks/options/perfjankie.js index ff9bb1a..ff6c62f 100644 --- a/tasks/options/perfjankie.js +++ b/tasks/options/perfjankie.js @@ -28,8 +28,12 @@ module.exports = { "http://localhost:4200/framework/jquery-ui-1-12/component/button/count/1000/" + "jquery-ui-1-12:button", "http://localhost:4200/framework/bootstrap/component/button/count/1000/" + - "bootstrap:button" + "bootstrap:button", + "http://localhost:4200/framework/topcoat/component/button/count/1000/" + + "topcoat:button", + "http://localhost:4200/framework/topcoat-mobile/component/button/count/1000/" + + "topcoat-mobile:button" ] } } -} \ No newline at end of file +}