Skip to content

Pull-req #2233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@
html, body, iframe {
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
border: 0px;
}
</style>
<script>
// force https to avoid stupid mixed content stuff.
// don't force just http because http-everywhere plugins cause infinite redirect loop
// can't use relative links because they break when loading the site locally on disk (browsers suck)
// if (window.location.protocol == "http:")
// window.location.href = "https:" + window.location.href.substring(window.location.protocol.length);
ANOTHER WORK
</script>
<iframe src="examples/site.html"></iframe>
</body>
Expand Down
5 changes: 1 addition & 4 deletions src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ var nv = {};
nv.dev = false; //set false when in production
nv.tooltip = nv.tooltip || {}; // For the tooltip system
nv.utils = nv.utils || {}; // Utility subsystem
nv.models = nv.models || {}; //stores all the possible models/components
nv.charts = {}; //stores all the ready to use charts
nv.logs = {}; //stores some statistics and potential error messages
nv.dom = {}; //DOM manipulation functions


// Node/CommonJS - require D3
if (typeof(module) !== 'undefined' && typeof(exports) !== 'undefined' && typeof(d3) == 'undefined') {
Expand Down