forked from mamacdon/mamacdon.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
229 lines (225 loc) · 6.6 KB
/
Copy pathindex.html
File metadata and controls
229 lines (225 loc) · 6.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Orion stuff</title>
<style type="text/css">
body {
font-family: sans-serif;
}
ul, table {
margin-top: 0.5em;
}
body>ul>li {
padding-bottom: 0.2em;
}
h2, h3 {
padding-top: 0.5em;
margin-bottom: 0;
}
.content {
padding-left: 1em;
}
.pluginTable {
border-spacing: 2px;
width: 900px;
}
.pluginTable, tr, td, th {
border: 1px inset;
}
.pluginTable td, .pluginTable th {
padding: 5px;
}
.pluginName { font-weight: bold; margin-bottom: 1em;}
.pluginURL {
margin-bottom: 0.5em;
white-space: nowrap;
}
.pluginSource {
font-size: small;
}
.dl {
text-align: center;
}
.dl a:nth-child(1) {
padding-right: 0.5em;
}
.contact {
font-style: italic;
font-size: small;
padding-top: 1em;
}
</style>
</head>
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var plugins = [
{ name: "jsbeautify",
description: 'Cleans up the formatting of your JavaScript code using <a href="http://jsbeautifier.org/">jsbeautifier</a>.',
versions: {
/*"0.2 M6/M7": [
"/m6/beautify/jsbeautify.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/m6/beautify"
],*/
"0.2": [
"/0.2/plugins/beautify/jsbeautify.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/m6/beautify"
],
"0.3": [
"/0.2/plugins/beautify/jsbeautify.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/m6/beautify"
]
}
},
{ name: "uglify",
description: 'Minifies your JavaScript code using <a href="https://github.com/mishoo/UglifyJS">uglify-js</a>.',
versions: {
/*"0.2 M6/M7": [
"/m6/uglify/uglify-plugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/m6/uglify"
],*/
"0.2": [
"/0.2/plugins/uglify/uglify-plugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/0.2/plugins/uglify"
],
"0.3": [
"/0.2/plugins/uglify/uglify-plugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/0.2/plugins/uglify"
]
}
},
{ name: "csslint",
description: 'Provides validation and style tips on your CSS files using <a href="https://github.com/stubbornella/csslint">CSS Lint</a>.',
versions: {
/*"0.2": [
"/0.2/plugins/csslint/csslintPlugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/0.2/plugins/csslint",
],*/
"0.3": [
"/0.2/plugins/csslint/csslintPlugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/0.2/plugins/csslint",
]
}
},
{ name: "reverse",
description: 'A minimal plugin example used as part of a <a href="http://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Simple_plugin_example">tutorial</a>.',
versions: {
/*"0.2 M6/M7": [
"/m6/uglify/uglify-plugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/m6/reverse"
],*/
"0.2": [
"/0.2/plugins/reverse/reversePlugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/0.2/plugins/reverse"
],
"0.3": [
"/0.2/plugins/reverse/reversePlugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/0.2/plugins/reverse"
]
}
},
{ name: "Bugzilla",
description: 'A <a href="http://dev.eclipse.org/mhonarc/lists/orion-dev/msg00688.html">Bugzilla integration</a> plugin for Orion.',
versions: {
"0.3": [
"/0.3/plugins/bugzilla/plugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/0.3/plugins/bugzilla"
]
}
},
{ name: "language.js",
description: 'Provides content assist suggestions JavaScript identifiers using <a href="http://languagejs.com/">language.js</a>.',
experimental: true,
versions: {
"0.2": [
"/0.2/plugins/language/languagejsPlugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/0.2/plugins/language/"
],
"0.3": [
"/0.2/plugins/language/languagejsPlugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/0.2/plugins/language/"
]
}
},
{ name: "JavaScript hierarchical outline",
description: 'Provides a tree view of the functions in a JavaScript file.',
experimental: true,
versions: {
"0.3 M2": [
"/0.3/plugins/newoutline/newoutlinePlugin.html",
"https://github.com/mamacdon/mamacdon.github.com/tree/master/0.3/plugins/newoutline/"
]
}
}
];
function getVersions() {
var versions = {};
for (var i=0; i < plugins.length; i++) {
var plugin = plugins[i];
for (var prop in plugin.versions) {
if (plugin.versions.hasOwnProperty(prop)) {
versions[prop] = null;
}
}
}
var array = [];
for (prop in versions) {
array.push(prop);
}
return array;
}
function createTbody(tableId) {
var table = document.getElementById(tableId),
versions = getVersions(),
headerRow = table.insertRow(-1),
th = document.createElement("th");
th.innerHTML = "Description";
headerRow.appendChild(th);
for (var i=0; i < versions.length; i++) {
th = document.createElement("th");
th.innerHTML = "Orion " + versions[i];
headerRow.appendChild(th);
}
for (i=0; i < plugins.length; i++) {
var plugin = plugins[i];
var row = table.insertRow(-1);
var desc = row.insertCell(-1);
desc.innerHTML = '<div class="pluginName">' + plugin.name + '</div>' + '<div class="pluginDesc">' + plugin.description + '</div>';
for (var j=0; j < versions.length; j++) {
var cell = row.insertCell(-1),
versionId = versions[j],
pluginVersion = plugin.versions[versionId];
cell.className = "dl";
if (pluginVersion) {
var html = '<div class="pluginURL"><a href="' + pluginVersion[0] + '">Plugin</a></div>';
if (pluginVersion[1]) {
html += '<div class="pluginSource"><a href="' + pluginVersion[1] + '">Source</a></div>';
}
cell.innerHTML = html;
} else {
cell.innerHTML = "–";
cell.title = "Not available for Orion " + versionId;
}
}
}
}
createTbody("pluginTable");
}, false);
</script>
<body>
<h1>Orion goodies</h1>
<div class="content">
<h3>Plugins</h3>
<table id="pluginTable" class="pluginTable"></table>
<h3>Tools</h3>
<ul>
<li><a href="/0.2/tools/grammar">TextMate-to-Orion grammar converter</a></li>
</ul>
<h3>See also</h3>
<ul>
<li><a href="http://wiki.eclipse.org/Orion">Orion wiki</a></li>
<li><a href="http://wiki.eclipse.org/Orion/How_Tos/Installing_A_Plugin">Installing a Plugin</a></li>
</ul>
</div>
</body>
</html>