As of Drupal 8 all JS needs to follow our JavaScript coding standards. For this we use ESLint to check most of our standards.

Here is the summary of running ESLint on this module JS:
4 problems (4 errors, 0 warnings)

Attached is the full list of errors found by ESLint.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Neelanjana Das created an issue. See original summary.

Neelanjana Das’s picture

FileSize
379 bytes
Neelanjana Das’s picture

Neelanjana Das’s picture

Status: Active » Needs review
Neelanjana Das’s picture

Assigned: Unassigned » Neelanjana Das
Neelanjana Das’s picture

please check the patch.

dawehner’s picture

Status: Needs review » Needs work
+++ b/js/inline_entity_form.js
@@ -4,12 +4,13 @@
  */
-Drupal.behaviors.inlineEntityForm = {
+  Drupal.behaviors.inlineEntityForm = {
   attach: function (context) {
     /*

This breaks the indentation ... this cannot be right :)

geek-merlin’s picture

Status: Needs work » Closed (outdated)