Skip to content

Instantly share code, notes, and snippets.

var isPollutedObject = (data)=>{
// simple string wala use case
if (typeof data === 'string') {
if (data.includes('BAD')) {
return true;
} else {
return false;
}
}
https://gitlab.com/mindtickle/mt-content-ui/-/blob/track/integration/applications/asset-library/src/components/AllowDownload/messages.tsx:
https://gitlab.com/mindtickle/mt-content-ui/-/blob/track/integration/applications/asset-library/src/components/AssetAttributes/messages.ts:
https://gitlab.com/mindtickle/mt-content-ui/-/blob/track/integration/applications/asset-library/src/components/AssetCard/messages.tsx:
https://gitlab.com/mindtickle/mt-content-ui/-/blob/track/integration/applications/asset-library/src/components/AssetDescription/messages.ts:
https://gitlab.com/mindtickle/mt-content-ui/-/blob/track/integration/applications/asset-library/src/components/AssetEngagementPopover/messages.ts:
https://gitlab.com/mindtickle/mt-content-ui/-/blob/track/integration/applications/asset-library/src/components/AssetExpiry/messages.ts:
https://gitlab.com/mindtickle/mt-content-ui/-/blob/track/integration/applications/asset-library/src/components/AssetOwner/messages.tsx:
https://gitlab.com/mindtickle/mt-content-ui/-/blob
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PDP</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
#setwd("C:\\Users\\system 4\\Py_Command")
library(shiny)
library(shinyalert)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(title = "PD Model"),
dashboardSidebar(
sidebarMenu(