Error Reporting Example.
This could also be wrapped in the conditional above with true being live environment and false being dev environment.
Inside your require block where you're instantiating Vue or using Vue at all this is a great thing to add.
| βββ |
| { | |
| "redirectDomains": [ | |
| { | |
| "domains": [ | |
| "catalinachamber.com", | |
| "www.catalinachamber.com", | |
| "avalonchamber.com", | |
| "www.avalonchamber.com", | |
| "catalinaislandchamber.com", | |
| "www.catalinaislandchamber.com", |
| data1 <- google_analytics( | |
| viewId = gaviewId, | |
| date_range = c(previousDay, previousDay), | |
| dimensions = c("ga:campaign", "ga:sourceMedium", "ga:deviceCategory", "ga:country", "ga:city", "ga:dateHour", "ga:userGender"), | |
| metrics = c("ga:pageViews", "ga:sessions"), | |
| filtersExpression = "", | |
| samplingLevel = "SMALL" | |
| ) |
| <style> | |
| .panel_jumplist_outer [data-seo-top] { | |
| display: table; | |
| width: 100%; | |
| text-align: center; | |
| clear: both; | |
| } | |
| .panel_jumplist_outer [data-seo-top] ol, | |
| .panel_jumplist_outer [data-seo-top] ul { | |
| list-style: none; |
| component output="false" displayname="Schema" hint="Functions to build valid schema.org" { | |
| public function buildGeo(required details) { | |
| local.data = arguments.details; | |
| local.schemaObj = {}; | |
| local.schemaObj = { | |
| "geo" = { | |
| "@type" = "GeoCoordinates", | |
| "latitude" = local.data.latitude, |
| var foo = null; | |
| $.getJSON(.....).then( (myData) => { | |
| console.log(myData); | |
| // or assign some data here. | |
| foo = myData; | |
| }); | |
| $.getJSON(.....).then( function(myData) { | |
| console.log(myData); |
| # Alternative to a doubly-nested loop | |
| # Imagine I want to perform an operation on a data frame | |
| # once for each combination of two variables, such as Country and Year | |
| # I can do this with a nested loop, or I can do this with (among other | |
| # things) lapply() | |
| # Generate random data: | |
| allCountries <- LETTERS[1:10] | |
| allYears <- 1990:2012 |
| # Alternative to a doubly-nested loop | |
| # Imagine I want to perform an operation on a data frame | |
| # once for each combination of two variables, such as Country and Year | |
| # I can do this with a nested loop, or I can do this with (among other | |
| # things) lapply() | |
| # Generate random data: | |
| allCountries <- LETTERS[1:10] | |
| allYears <- 1990:2012 |