think-demo-task-list
Advanced tools
Comparing version 1.0.0 to 2.0.0
{ | ||
"title": "Task List", | ||
"status": "wip" | ||
"status": "wip", | ||
"context": { | ||
"reactName": "tasklist" | ||
} | ||
} |
@@ -11,7 +11,7 @@ /* eslint complexity: 'off' */ | ||
var addTask = function () { | ||
var addTask = function addTask() { | ||
var newTask = $newTask.val(); | ||
if (newTask !== '') { | ||
var newTaskHtml = `<li class="tbk-task-list-item">${newTask}</li>`; | ||
var newTaskHtml = '<li class="tbk-task-list-item">' + newTask + '</li>'; | ||
$($taskList[0]).append(newTaskHtml); | ||
@@ -23,3 +23,3 @@ } | ||
var bind = function () { | ||
var bind = function bind() { | ||
$(document).on('click', '[data-role="add-task"]', addTask); | ||
@@ -29,3 +29,3 @@ }; | ||
return { //exposed to public | ||
init: function () { | ||
init: function init() { | ||
bind(); | ||
@@ -32,0 +32,0 @@ } |
{ | ||
"name": "think-demo-task-list", | ||
"version": "1.0.0", | ||
"status": 4, | ||
"version": "2.0.0", | ||
"description": "This is a sample task list component built specifically to demonstrate the use of Lerna in a Think Company Build Kit", | ||
"main": "dist/index", | ||
"keywords": [ | ||
@@ -19,4 +19,5 @@ "task list" | ||
"dependencies": { | ||
"jquery": "^3.3.1" | ||
"jquery": "^3.3.1", | ||
"react": "^16.5.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11063
15
258
2
1
+ Addedreact@^16.5.2
+ Addedjs-tokens@4.0.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact@16.14.0(transitive)
+ Addedreact-is@16.13.1(transitive)