PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.js

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.js   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: 2 days ago
Size: 624 bytes
 

Contents

Class file image Download
if (something) print 'hello'; if (something) { print 'hello'; } else print 'hi'; if (something) { print 'hello'; } else if (something) print 'hi'; for (i; i > 0; i--) print 'hello'; while (something) print 'hello'; do { i--; } while (something); do i++; while (i < 5); SomeClass.prototype.switch = function() { // do something }; if ($("#myid").rotationDegrees()=='90') $('.modal').css({'transform': 'rotate(90deg)'}); if ($("#myid").rotationDegrees()=='90') $foo = {'transform': 'rotate(90deg)'}; if (something) { alert('hello'); } else /* comment */ if (somethingElse) alert('hi');