mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-29 21:37:00 +08:00
test(benchmark): add jQuery no-op script to large table benchmark
This commit is contained in:
@@ -1,9 +1,14 @@
|
|||||||
module.exports = function(config) {
|
module.exports = function(config) {
|
||||||
config.set({
|
config.set({
|
||||||
scripts: [{
|
scripts: [{
|
||||||
|
id: 'jquery',
|
||||||
|
src: 'jquery-noop.js'
|
||||||
|
},
|
||||||
|
{
|
||||||
id: 'angular',
|
id: 'angular',
|
||||||
src: '/build/angular.js'
|
src: '/build/angular.js'
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
src: 'app.js',
|
src: 'app.js',
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|||||||
1
benchmarks/largetable-bp/jquery-noop.js
vendored
Normal file
1
benchmarks/largetable-bp/jquery-noop.js
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
//Override me with ?jquery=/bower_components/jquery/dist/jquery.js
|
||||||
@@ -1,4 +1,7 @@
|
|||||||
<div ng-app="largetableBenchmark">
|
<style>
|
||||||
|
[ng-cloak] { display: none; }
|
||||||
|
</style>
|
||||||
|
<div ng-app="largetableBenchmark" ng-cloak>
|
||||||
<div ng-controller="DataController">
|
<div ng-controller="DataController">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
Reference in New Issue
Block a user