mockup/master: Fix the test result.

Oshane Bailey <jenkins-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: mockup
Branch: refs/heads/master
Date: 2017-06-27T18:40:08-05:00
Author: Oshane Bailey (b4oshany) <[email protected]>
Commit: https://github.com/plone/mockup/commit/cbe388ffe83bca45a3884d2dc80e96f7361db2b4

Fix the test result.

Files changed:
M mockup/js/ui/views/dropdown.js

diff --git a/mockup/js/ui/views/dropdown.js b/mockup/js/ui/views/dropdown.js
index 6e4505a0..7a04f5d8 100644
--- a/mockup/js/ui/views/dropdown.js
+++ b/mockup/js/ui/views/dropdown.js
@@ -1,8 +1,9 @@
 define([
+  'jquery',
   'underscore',
   'mockup-ui-url/views/buttongroup',
   'text!mockup-ui-url/templates/dropdown.xml',
-], function(_, ButtonGroup, DropdownTemplate) {
+], function($, _, ButtonGroup, DropdownTemplate) {
   'use strict';
 
   var DropdownView = ButtonGroup.extend({
@@ -31,6 +32,7 @@ define([
     },
 
     renderItems: function() {
+      var self = this;
       var $container;
 
       if (this.itemContainer !== null) {



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.