Skip to content

Commit

Permalink
Add getModel() call back
Browse files Browse the repository at this point in the history
  • Loading branch information
fabyanmartin committed May 4, 2018
1 parent 73d5161 commit 1234f1f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-context-menu-js",
"version": "0.11.0",
"version": "0.11.1",
"homepage": "https://github.com/fabyanmartin/ngContextMenu",
"authors": [
"Adam Timberlake <adam.timberlake@gmail.com>",
Expand Down
2 changes: 1 addition & 1 deletion dist/ng-context-menu-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
})
});
//Compile after added to the DOM so that we can correctly apply css
$compile(menu)(scope);
$compile(menu)($angular.extend(getModel()));
scope.menu = menu;
scope.menu.bind('click', closeMenu);

Expand Down
2 changes: 1 addition & 1 deletion dist/ng-context-menu-js.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion module/ngContextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
})
});
//Compile after added to the DOM so that we can correctly apply css
$compile(menu)(scope);
$compile(menu)($angular.extend(getModel()));
scope.menu = menu;
scope.menu.bind('click', closeMenu);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-context-menu-js",
"version": "0.11.0",
"version": "0.11.1",
"description": "Handcraft your very own context menus for a richer UX!",
"main": "dist/ng-contextmenu.js",
"scripts": {
Expand Down
Binary file added releases/0.11.1.zip
Binary file not shown.

0 comments on commit 1234f1f

Please sign in to comment.