Code-TidyAll
view release on metacpan or search on metacpan
php/PHP_CodeSniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.js view on Meta::CPAN
var script = document.createElement('script');
script.onload = function()
{
clearTimeout(t);
script456.onload = null;
script.onreadystatechange = null;
callback.call(this);
};
this.callbacks[type] = {
namespaces: {},
others: []
};
blah = function()
{
print something;
}
php/PHP_CodeSniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.js.fixed view on Meta::CPAN
var script = document.createElement('script');
script.onload = function()
{
clearTimeout(t);
script456.onload = null;
script.onreadystatechange = null;
callback.call(this);
};
this.callbacks[type] = {
namespaces: {},
others: []
};
blah = function()
{
print something;
}
php/PHP_CodeSniffer/src/Standards/MySource/Sniffs/Objects/CreateWidgetTypeCallbackSniff.php view on Meta::CPAN
<?php
/**
* Ensures the create() method of widget types properly uses callbacks.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace PHP_CodeSniffer\Standards\MySource\Sniffs\Objects;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
php/PHP_CodeSniffer/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.js view on Meta::CPAN
// hash signs (#).
code = 'hello';
/**
* This is the first line of a function comment.
* This is the second line.
*/
function testFunction()
{
// Callback methods which are added by external objects.
this.callbacks = {};
}//end testFunction()
/**
* This is the first line of a class comment.
* This is the second line.
*/
myClass.prototype = {
/**
php/PHP_CodeSniffer/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.js.fixed view on Meta::CPAN
// hash signs (#).
code = 'hello';
/**
* This is the first line of a function comment.
* This is the second line.
*/
function testFunction()
{
// Callback methods which are added by external objects.
this.callbacks = {};
}//end testFunction()
/**
* This is the first line of a class comment.
* This is the second line.
*/
myClass.prototype = {
/**
( run in 0.366 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )