Skip to content

Commit

Permalink
fix: fixing ibm analytics null value
Browse files Browse the repository at this point in the history
  • Loading branch information
photodow committed Nov 4, 2021
1 parent 5bd7d30 commit 7478ace
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/component-list/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/devtools-component-list",
"version": "2.7.2",
"version": "2.7.3",
"description": "Generates a list of components and their selectors across all of the Carbon libraries.",
"main": "./dist/index.json",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/demo-site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/devtools-demo-site",
"version": "2.7.2",
"version": "2.7.3",
"private": true,
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/token-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/devtools-token-server",
"version": "2.7.2",
"version": "2.7.3",
"private": true,
"description": "A distribution server that maintains and versions Carbon tokens separately.",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carbon/devtools-utilities",
"version": "2.7.2",
"version": "2.7.3",
"description": "Common utilities and functions used across throughout Carbon Devtools.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/web-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "carbon-devtools",
"version": "2.7.2",
"version": "2.7.3",
"private": true,
"description": "A basic set of tools for teams building live Carbon pages.",
"main": "dist/manifest.json",
Expand Down
6 changes: 2 additions & 4 deletions packages/web-extension/src/validate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,17 @@ injectScript(
function bxDevGetLibraries () {
const libraries = {
"IBM Analytics": window._ibmAnalytics || document.querySelector('script[src*="common/stats/ibm-common.js"]'),
"IBM Analytics": window._ibmAnalytics || document.querySelector('script[src*="common/stats/ibm-common.js"]') || undefined,
Kaltura: (window.kWidget || window.KWidget) && true,
w3DS: window.w3ds && true,
React: window.React,
Angular: window.angular,
jQuery: window.jQuery || window.$,
Dojo: window.dojo,
Bootstrap: window.bootstrap,
Vue: window.Vue,
Kaltura: (window.kWidget || window.KWidget) && true,
};
console.log(libraries);
const pageInfo = {
digitalData: window.digitalData,
libraries
Expand Down

0 comments on commit 7478ace

Please sign in to comment.