public/js/models/userList.js in conjur-asset-ui-1.3.0 vs public/js/models/userList.js in conjur-asset-ui-1.3.1

- old
+ new

@@ -1,9 +1,11 @@ +/* global conjur */ + (function(conjur) { 'use strict'; - conjur.models.UserList = function() { + this.UserList = function() { var options = { namespaceSelector: function(member) { var idTokens = member.id.split('@'); if (idTokens.length > 1) { @@ -15,6 +17,9 @@ }; return conjur.models.ResourceList('user', options); }; -})(conjur); +}).bind(conjur.models) +( + conjur +);