init commit
This commit is contained in:
11
src/UntappedWidgetGenerator.Web/Scripts/Jquery.Untapped.js
Normal file
11
src/UntappedWidgetGenerator.Web/Scripts/Jquery.Untapped.js
Normal file
@@ -0,0 +1,11 @@
|
||||
(function ($) {
|
||||
$.fn.untappd = function (username) {
|
||||
this.each(function () {
|
||||
var that = this;
|
||||
$.post("http://localhost:12116/" + username)
|
||||
.success(function (data) {
|
||||
$(that).html(data);
|
||||
});
|
||||
});
|
||||
};
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user