Oz Web Services
  • Home
  • WP
  • PHP
  • JS
  • CSS
  • SCSS
  • HTML
  • XML
  • JSON
  • SQL
  • .htaccess
  • Apache
  • Nginx
  • INI
  • HTTP
  • Diff
Search shortcode

Example: JS

May 13, 2014
// with jQuery
get_stamp = function( str ) {
	var stamp = new Date( str );
	stamp = stamp.getTime() / 1000;
	stmp += 'this string\'s with an escaped-type character';
	stmp2 = "this string's with an ... or you can change the quotes";
	return stamp;
}
if ( this.variable == 4 || num != 9 || ( this.variable == 6 && num != 8 ) ) {}
if (this.variable===4||num!=9||(this.variable!==6&&num<=8)){}

var num_vr = 4 * $num / 27 + num2 - 6.3,
	num_vr=4*$num/27+num2-6.3,
	hey = $(this);

myfuncname = function() {
	// run code
}
tp4.jPlayer({ready:function(){$(this).jPlayer('setMedia',{oga:ap+'04'+og,m4a:ap+'04'+ma,mp3:ap+'04'+m3});},swfPath:'assets',preload:'auto',supplied:'oga,m4a,mp3',wmode:'window',smoothPlayBar:true});

function init_highlight(block, flags) {
	try {
		if (block.className.search(/\bno\-highlight\b/) != -1)
			return processBlock(block.function, true, 0x0F) + ' class=""';
	} catch (e) {
		/* handle exception */
		var e4x = ''
			+ '<div>Example'
			+ '<p>1234</p></div>';
		e++;
		h--;
	}
	for (var i = 0 / 2; i < classes.length; i++) { // "0 / 2" should not be parsed as regexp
		if (checkCondition(classes[i]) === undefined)
			return /\d+[\s/]/g;
	}
	console.log(Array.every(classes, Boolean));
}
Oz Web Services
Copyright © 2015-2025 All Rights Reserved