Package Exports
- osx-browser-vm
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (osx-browser-vm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
os-browser-vm
import {safari, chrome, canary} from '.'
safari.run(test, log.bind(null, "Safari"))
chrome.run(test, log.bind(null, "Chrome"))
canary.run(test, log.bind(null, "Canary"))
// Canary has 694 window properties.
// Chrome has 682 window properties.
// Safari has 607 window properties.
function test() {
return Object.getOwnPropertyNames(window).length
}
function log(browser, err, data) {
console.log("%s has %s window properties.", browser, data)
}