Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #34 from VividCortex/fix-theme
Browse files Browse the repository at this point in the history
Fixed scope declaration for theme property in directive
  • Loading branch information
iambrosi committed Jan 9, 2015
2 parents 7dfe8ad + b79462c commit 881c14e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo/usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h1>VividCortex reCaptcha Directive Example</h1>
<form ng-submit="submit()">
<div
vc-recaptcha
theme="light"
theme="'light'"
key="model.key"
on-create="setWidgetId(widgetId)"
on-success="setResponse(response)"
Expand Down
2 changes: 1 addition & 1 deletion src/directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
scope: {
response: '=?ngModel',
key: '=',
theme: '?=',
theme: '=?',
onCreate: '&',
onSuccess: '&',
onExpire: '&'
Expand Down

0 comments on commit 881c14e

Please sign in to comment.