1
[jimmy_branding name="senor-webgl-library-usage-sample-1" ratio="parent" height_min_percents="20" height_max_percents="60"]
2
3
<style scoped>
4
.code > div > div:nth-child(1) > span {
5
-moz-user-select: none;
6
-webkit-user-select: none;
7
-ms-user-select: none;
8
user-select: none;
9
}
10
</style>
11
12
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
13
<div style="width: 1040px;text-align: center;">
14
<div style="display: inline-block;margin: 20px;font-family: 'Source Code Pro', monospace;font-size: 14px;font-style: normal;font-weight: 700;">
15
<!-- To put spaces in attribute values, use quotes. spaces in unquoted values will be broken -->
16
[codeview_byname id="code" count="502" number-width="5%"]branding-code-of-senor-webgl-library-usage-sample-1-code[/codeview_byname]
17
</div>
18
</div>
19
20
[init_spansearch]
21
22
<!-- To use escape chars in usage of Regular Expression, you need "\\", double backslashes for "\" -->
23
[spansearch_all id="code" color="magenta" regex-enable="true"]\\<style.*\\>$[/spansearch_all]
24
25
[spansearch_all id="code" color="magenta"]\</style\>[/spansearch_all]
26
27
[spansearch_all id="code" color="yellow" regex-enable="true"][\\s|\\t]+function[\\s]?\\([^{]+[/spansearch_all]
28
29
[spansearch_all id="code" color="yellow" regex-enable="true"][\\s|\\t]+for[\\s]?\\([^{]+[/spansearch_all]
30
31
[spansearch_all id="code" color="yellow" regex-enable="true"][\\s|\\t]+while[\\s]?\\([^{]+[/spansearch_all]
32
33
[spansearch_all id="code" color="yellow" regex-enable="true"][\\s|\\t]+if[\\s]?\\([^{]+[/spansearch_all]
34
35
[spansearch_all id="code" color="yellow" regex-enable="true"]\\<script.*\\>$[/spansearch_all]
36
37
[spansearch_all id="code" color="yellow"]\</script\>[/spansearch_all]
38
39
[spansearch_all id="code" color="cyan" regex-enable="true"]\\<div.*\\>$[/spansearch_all]
40
41
[spansearch_all id="code" color="cyan"]\</div\>[/spansearch_all]
42
43
[spansearch_all id="code" color="yellow" regex-enable="true"]\\<canvas.*\\>$[/spansearch_all]
44
45
[spansearch_all id="code" color="yellow"]\</canvas\>[/spansearch_all]
46
47
[spansearch_all id="code" color="yellow"]\</canvas\>[/spansearch_all]
48
49
[spansearch_all id="code" color="red" regex-enable="true"]\\<svg.*\\>$[/spansearch_all]
50
51
[spansearch_all id="code" color="red"]\</svg\>[/spansearch_all]
52
53
[spansearch_all id="code" color="red" regex-enable="true"]var\\s[/spansearch_all]
54
55
[spansearch_all id="code" color="red" regex-enable="true"]\\s=\\s[/spansearch_all]
56
57
[spansearch_all id="code" color="cyan"]{[/spansearch_all]
58
59
[spansearch_all id="code" color="cyan"]}[/spansearch_all]
60
61
[spansearch_all id="code" color="yellow"]SENORWEBGL1()[/spansearch_all]
62
63
[spansearch_all id="code" color="yellow"]SENORUTL[/spansearch_all]
64
65
[spansearch_all id="code" color="yellow"]THE_SENOR[/spansearch_all]
66
67
[spansearch_all id="code" color="yellow"]ATTACHER[/spansearch_all]
68
69
[spansearch_all id="code" color="cyan" regex-enable="true"][\\s|\\t]+//.*$[/spansearch_all]
70
71
[spansearch_all id="code" color="cyan" regex-enable="true"]^//.*$[/spansearch_all]

Code of ‘SENOR’ WebGL Library Usage Sample No.1

244 Views