Permalink
Show file tree
Hide file tree
1 comment
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Widget: Added ability to define how to find options on init. Fixes #6…
…158 - Widget: Ability to define new methods for gathering options on init.
- Loading branch information
1 parent
c3b282f
commit 512825d358851f4b2b584f1b6463e9cd48f31752
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
512825d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just return$.metadata && $ .metadata.get( element )[ this.widgetName ]? If $.metadata is undefined, returning undefined is fine anyway. $ .extend doesn't care.