~hrbrmstr/uaparserjs

0d25dd72cfd0faf37c72e50c9d45528528151d40 — Colman Humphrey 1 year, 5 months ago 080f424
update zzz.R

change onAttach to onLoad, since this is needed to run the functions
1 files changed, 2 insertions(+), 2 deletions(-)

M R/zzz.r
M R/zzz.r => R/zzz.r +2 -2
@@ 1,7 1,7 @@

.pkgenv <- new.env(parent=emptyenv())

.onAttach <- function(...) {
.onLoad <- function(...) {

  ctx <- v8()
  ctx$source(system.file("js/bundle.js", package="uaparserjs"))


@@ 13,4 13,4 @@

  assign("cache", cache, envir=.pkgenv)

}
\ No newline at end of file
}