Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (18 sloc) 712 Bytes
// Version, Host Language, and Processor URL
window.Version = Backbone.Model.extend({
defaults: {
processorURL: "http://www.w3.org/2012/pyRdfa/extract?uri=",
processorName: "pyRdfa (Python)",
processorDOAP: "http://www.w3.org/2012/pyRdfa",
// List of processors
processors: {"other": {endpoint: "", doap: ""}},
// Names to give each vesion, initialized forom Ajax
versionNames: {},
// Mapping of version to hostLanguage/suite which uses it
versionHostLanguageMap: {"rdfa1.0": ["XHTML1", "XML"]}
},
// Appropriate hostLanguages/suites for the current version
hostLanguages: function() {
return this.get("versionHostLanguageMap")[this.get("version")];
}
});
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.