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
// !-- /app/test.js | |
var test = []; | |
export { test }; | |
// !-- file.js | |
import { test } from "./app/test"; | |
test.a[0] = "h"; | |
// !-- file2.js | |
import { test } from "./app/test"; |
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
<script type="text/javascript" src="http://some.tld/web/service?callback=verarbeiteDaten"></script> | |
... wird zu | |
<script type="text/javascript"> | |
verarbeiteDaten({"Name": "Benny Bennet", "Website": "http://ben.nyben.net"}) | |
</script> |
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
function verarbeiteDaten( data ) { | |
console.log(data["Name"]); | |
console.log(data["Website"]); | |
} |
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
JSON: {"Name": "Benny Bennet", "Website": "http://ben.nyben.net"} | |
JSONP: verarbeiteDaten({"Name": "Benny Bennet", "Website": "http://ben.nyben.net"}) |
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
<script type="text/javascript"> | |
;(function() { | |
console.log("Hello World") | |
})(); | |
</script> |
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
<script type="text/javascript" src="http://meinserver.de/meinScript.js"></script> |
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
$('select.bb-styled').each(function(){ | |
var title = $(this).attr('title'); | |
if( $('option:selected', this).val() != '' ) title = $('option:selected',this).text(); | |
var idName = $(this).attr('id') + '_container'; | |
$(this).before('<div class="bb-styled-container" id="' + idName + '"></div>') | |
$('#' + idName).append(this); | |
$(this) | |
.css({'opacity':0}) |
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
div.bb-styled-container { position:relative; margin: 50px; } | |
select.bb-styled { | |
position: relative; | |
z-index:10; | |
display: block; | |
-webkit-appearance:none; | |
-moz-appearance:none; | |
appearance:none; | |
cursor:pointer; | |
} |
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
<select name="topics-select" id="topics-select" class="bb-styled"> | |
<option selected>Themen</option> | |
<option>Thema 1</option> | |
<option>Thema 2</option> | |
</select> |
NewerOlder