update inbox list
This commit is contained in:
21
vendor/scrivo/highlight.php/test/detect/javascript/default.txt
vendored
Normal file
21
vendor/scrivo/highlight.php/test/detect/javascript/default.txt
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
function $initHighlight(block, cls) {
|
||||
try {
|
||||
if (cls.search(/\bno\-highlight\b/) != -1)
|
||||
return process(block, true, 0x0F) +
|
||||
` class="${cls}"`;
|
||||
} catch (e) {
|
||||
/* handle exception */
|
||||
}
|
||||
for (var i = 0 / 2; i < classes.length; i++) {
|
||||
if (checkCondition(classes[i]) === undefined)
|
||||
console.log('undefined');
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<web-component>{block}</web-component>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export $initHighlight;
|
||||
20
vendor/scrivo/highlight.php/test/detect/javascript/sample1.txt
vendored
Normal file
20
vendor/scrivo/highlight.php/test/detect/javascript/sample1.txt
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
// This was mis-detected as HSP and Perl because parsing of
|
||||
// keywords in those languages allowed adjacent dots
|
||||
|
||||
window.requestAnimationFrame(function render() {
|
||||
var pos = state.pos;
|
||||
|
||||
canvasEl.width = 500;
|
||||
canvasEl.height = 300;
|
||||
|
||||
if (dpad.right) {
|
||||
pos.x += 3;
|
||||
} else if (dpad.left) {
|
||||
pos.x -= 3;
|
||||
}
|
||||
|
||||
ctx.fillStyle = '#AF8452';
|
||||
ctx.fillRect(pos.x + 5, pos.y - 10, 10, 10);
|
||||
|
||||
window.requestAnimationFrame(render);
|
||||
});
|
||||
8
vendor/scrivo/highlight.php/test/detect/javascript/short-plain.txt
vendored
Normal file
8
vendor/scrivo/highlight.php/test/detect/javascript/short-plain.txt
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
const cluster = require('cluster');
|
||||
const numCPUs = require('os').cpus().length;
|
||||
|
||||
if (cluster.isMaster) {
|
||||
for (var i = 0; i < numCPUs; i++) {
|
||||
cluster.fork();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user