Pasar al contenido principal

Invalid library definition in modules/views_load_more/views_load_more.libraries.yml

Drupal Project
Module Version
8.x-1.x-dev 2015-May-01
Drupal Version
8.3.0
Comment

robertoguzman@…

Dom, 09/04/2017 - 04:49

el error se genera por la falta de espacios en el archivo de views_load_more.libraries.yml y se soluciona con el siguiente parche

diff --git a/views_load_more.libraries.yml b/views_load_more.libraries.yml
index 117bf89..dd6a3d9 100644
--- a/views_load_more.libraries.yml
+++ b/views_load_more.libraries.yml
@@ -2,8 +2,8 @@ views_load_more:
   version: 1.0.0
   js:
     js/views_load_more.js: {}
-dependencies:
-  - core/jquery
-  - core/drupal
-  - core/drupalSettings
-  - core/drupal.ajax
+  dependencies:
+    - core/jquery
+    - core/drupal
+    - core/drupalSettings
+    - core/drupal.ajax

https://www.drupal.org/node/2611186