Comments (3)
I tried to add thread.js
directly, but it requires the aLog.js
library, which in turn requires the template library, etc. The dependency list is too much to add in as <script>
tags manually. Is it possible to do a blocking importScript(['modevlib/main.js'])
instead?
from codecoverage_presenter.
thread.js
should work without aLog.js
. thread.js
will make a simplified version of the Log
object if it does not already exist.
Yes, you are right, if you want to use the code in aLog.js
also, then the dependency tree gets big fast. In this case, your main page should have something like:
<script type="application/javascript">
importScript(['js/main_lib.js'], function(){
//SETUP JAVASCRIPT HOOKS FOR PAGE HERE
})
</script>
This script will be run during page load, so should be one of the first scripts, and it will perform the script loading before running the function you pass it. All your other script files will not need to call importScript
because it was done here.
from codecoverage_presenter.
Done with 14e23d9
from codecoverage_presenter.
Related Issues (17)
- Make test directory, show problem with ccov_api HOT 6
- instead of a drop down list of test files, have a searchable field HOT 1
- figure out why unique source files sometimes is only the test file - ignore those if possible HOT 3
- Sort or otherwise qualify results
- static urls do not load accurately HOT 2
- when selecting a revision, it would be nice to have the date as well HOT 1
- Add a "in progress" indicator
- Add a "No result" indicator
- sort relevancy matches and bold all matches >0.7 HOT 1
- add relevancy to other queries
- Use $.ajax ? HOT 1
- Simplify function parameters HOT 1
- Given all known tests, what's the coverage % of a given file HOT 3
- Given all tests, what's the coverage for all files in a directory? HOT 1
- test files names should be reduced HOT 8
- hide or fade out test related files from all queries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codecoverage_presenter.