28 lines
576 B
Plaintext
28 lines
576 B
Plaintext
- provide(:title, 'Launch App')
|
|
|
|
|
|
.content-wrapper
|
|
%h2 Launch App Test
|
|
|
|
%a#try{href:'jamkazam:abc'} Click Here For Mumble
|
|
|
|
%br
|
|
|
|
%a#try_bad{href:'bumble:abc'} Click Here For Bumble
|
|
|
|
%a#hiddenLink{style: 'display:none'} Hidden Link
|
|
|
|
#result Result will show here
|
|
|
|
|
|
:javascript
|
|
$(function () {
|
|
|
|
var options = {
|
|
callback:function(success) {$('#result').text('success=' + success); },
|
|
fallback:function() {console.log("not supported"); }
|
|
};
|
|
|
|
$('#try').customProtocol(options);
|
|
$('#try_bad').customProtocol(options);
|
|
}); |