Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 438088
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.client.ui/web/plugins/jslintPlugin.js (-18 / +2 lines)
Lines 161-186 Link Here
161
	};
161
	};
162
162
163
	var provider = new PluginProvider(headers);
163
	var provider = new PluginProvider(headers);
164
	provider.registerService(["orion.edit.validator", "orion.cm.managedservice"], validationService, {
164
	provider.registerService(["orion.edit.validator"], validationService, {
165
		contentType: ["application/json"],
165
		contentType: ["application/json"],
166
		pid: "jslint.config"
167
	});
166
	});
168
	provider.registerService("orion.core.setting",
167
	
169
		{},
170
		{	settings: [
171
				{	pid: 'jslint.config',
172
					name: 'JSLint Validator',
173
					tags: 'validation HTML JSON jslint'.split(' '),
174
					category: 'validation',
175
					properties: [
176
						{	id: 'options',
177
							name: 'Options to pass to JSLint (/*jslint ..*/)',
178
							type: 'string'
179
						}
180
					]
181
				}
182
			]
183
		});
184
	provider.connect();
168
	provider.connect();
185
169
186
});
170
});

Return to bug 438088