mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +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) {
|
||||
config.set({
|
||||
scripts: [{
|
||||
id: 'jquery',
|
||||
src: 'jquery-noop.js'
|
||||
},
|
||||
{
|
||||
id: 'angular',
|
||||
src: '/build/angular.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 class="container-fluid">
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user