]> source.dussan.org Git - nextcloud-server.git/commitdiff
Bump strengthify to 0.5.3
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 10 Jan 2018 20:48:24 +0000 (21:48 +0100)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 11 Jan 2018 15:33:38 +0000 (16:33 +0100)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
bower.json
core/vendor/strengthify/.bower.json
core/vendor/strengthify/jquery.strengthify.js

index 9153272fb03e6e9cdf9082dd828f9f6ce0d6a607..3adc181700cf86fec24bcada621a188c63bbf4d3 100644 (file)
@@ -25,7 +25,7 @@
     "select2": "~3.4.8",
     "zxcvbn": "*",
     "snapjs": "~2.0.0-rc1",
-    "strengthify": "^0.5.2",
+    "strengthify": "^0.5.3",
     "underscore": "~1.8.0",
     "bootstrap": "~3.3.6",
     "backbone": "~1.2.3",
index 9a5973c31166fd88af859686d17858e3f400e811..de9904137efef9cfc11796e6233c550083b6ec96 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "strengthify",
-  "version": "0.5.2",
+  "version": "0.5.3",
   "homepage": "https://github.com/MorrisJobke/strengthify",
   "authors": [
     "Eve Ragins <eve.ragins@eve-corp.com",
@@ -9,13 +9,13 @@
   "description": "Combine jQuery and zxcvbn to create a password strength meter.",
   "main": "jquery.strengthify.js",
   "license": "MIT",
-  "_release": "0.5.2",
+  "_release": "0.5.3",
   "_resolution": {
     "type": "version",
-    "tag": "0.5.2",
-    "commit": "82d63c39de1b7b60ae38d24d0f866cba325904b5"
+    "tag": "0.5.3",
+    "commit": "a97e861762ccb17ce5f51d5c608b5d9e42732ae3"
   },
   "_source": "https://github.com/MorrisJobke/strengthify.git",
-  "_target": "^0.5.2",
+  "_target": "^0.5.3",
   "_originalSource": "strengthify"
 }
\ No newline at end of file
index 046c21502104bf267cb96c432cd30ee5841aaca9..204a0b33ccd1d8f5a8d4882c759461e93daca7ed 100644 (file)
@@ -51,7 +51,8 @@
             },
             drawTitles: false,
             drawMessage: false,
-            drawBars: true
+            drawBars: true,
+            $addAfter: null
         };
 
         return this.each(function() {
                     elemId = $elem.attr('id');
                 var drawSelf = drawStrengthify.bind(this);
 
+                var $addAfter = options.$addAfter;
+                if (!$addAfter) {
+                    $addAfter = $elem;
+                }
+
                 // add elements
-                $elem.after('<div class="strengthify-wrapper" data-strengthifyFor="' + $elem.attr('id') + '"></div>');
+                $addAfter.after('<div class="strengthify-wrapper" data-strengthifyFor="' + $elem.attr('id') + '"></div>');
 
                 if (options.drawBars) {
                     getWrapperFor(elemId)