danielfloresd / team-profile-generator

Found the usage of undeclared variables JS-0125
Bug risk
Critical
a year agoa year old
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
 14    const iconName = employee.getRole() === "Manager" ? "users" :
 15        employee.getRole() === "Engineer" ? "laptop" :
 16            "graduation cap";
 17    const item = $("<div>").addClass("item"); 18    const logo = $("<i>").addClass(iconName + " big icon");
 19    const content = $("<div>").addClass("content")
 20    const header = $("<div>").addClass("header").text(employee.getRole());
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
 15        employee.getRole() === "Engineer" ? "laptop" :
 16            "graduation cap";
 17    const item = $("<div>").addClass("item");
 18    const logo = $("<i>").addClass(iconName + " big icon"); 19    const content = $("<div>").addClass("content")
 20    const header = $("<div>").addClass("header").text(employee.getRole());
 21    const description = $("<div>").addClass("description").text(employee.getName());
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
 16            "graduation cap";
 17    const item = $("<div>").addClass("item");
 18    const logo = $("<i>").addClass(iconName + " big icon");
 19    const content = $("<div>").addClass("content") 20    const header = $("<div>").addClass("header").text(employee.getRole());
 21    const description = $("<div>").addClass("description").text(employee.getName());
 22    item.append(logo);
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
 17    const item = $("<div>").addClass("item");
 18    const logo = $("<i>").addClass(iconName + " big icon");
 19    const content = $("<div>").addClass("content")
 20    const header = $("<div>").addClass("header").text(employee.getRole()); 21    const description = $("<div>").addClass("description").text(employee.getName());
 22    item.append(logo);
 23    item.append(content);
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
 18    const logo = $("<i>").addClass(iconName + " big icon");
 19    const content = $("<div>").addClass("content")
 20    const header = $("<div>").addClass("header").text(employee.getRole());
 21    const description = $("<div>").addClass("description").text(employee.getName()); 22    item.append(logo);
 23    item.append(content);
 24    content.append(header);