mirror of https://github.com/status-im/consul.git
2920f73ddd
`window` and `document` are easily injected anyhow, but this primarily this keeps everything dom related in the same place. Included here are changes to make all ember related objects use the dom service `document` and `viewport` instead of just `document` and `window`. Quote from a previous PR (#4924) which explains the thinking around this: > Now I have all these things in the dom service, it would make sense to get window from there also. I was thinking of making a viewport method, which would be a nice word whether window was a browser window, an iframe (not really a window) like when ember testing, or anything else. To me the viewport is what we are actually talking about here. |
||
---|---|---|
.. | ||
acl-filter.js | ||
action-group.js | ||
app-view.js | ||
catalog-filter.js | ||
changeable-set.js | ||
code-editor.js | ||
confirmation-dialog.js | ||
copy-button-feedback.js | ||
datacenter-picker.js | ||
delete-confirmation.js | ||
dom-buffer-flush.js | ||
dom-buffer.js | ||
feedback-dialog.js | ||
freetext-filter.js | ||
hashicorp-consul.js | ||
healthcheck-status.js | ||
healthchecked-resource.js | ||
intention-filter.js | ||
list-collection.js | ||
modal-dialog.js | ||
modal-layer.js | ||
radio-group.js | ||
secret-button.js | ||
tab-nav.js | ||
tab-section.js | ||
tabular-collection.js | ||
tabular-details.js | ||
token-list.js | ||
tomography-graph.js |