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
DELETE a,b,c | |
FROM wp_posts a | |
LEFT JOIN wp_term_relationships b | |
ON (a.ID = b.object_id) | |
LEFT JOIN wp_postmeta c | |
ON (a.ID = c.post_id) | |
INNER JOIN (SELECT * FROM wp_posts WHERE post_status = 'publish') d | |
ON a.post_parent = d.ID | |
WHERE a.post_type = 'revision' |
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; | |
} |
NewerOlder