Skip to content

Commit

Permalink
FLUID-5161: adding back a uiOptions component
Browse files Browse the repository at this point in the history
  • Loading branch information
jobara committed Oct 8, 2013
1 parent b4422d7 commit 14ab51c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions build-scripts/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module_tabs=components/tabs
module_tableOfContents=components/tableOfContents
module_textfieldSlider=components/textfieldSlider
module_tooltip=components/tooltip
module_uiOptions=components/uiOptions
module_undo=components/undo
module_uploader=components/uploader

Expand Down
29 changes: 29 additions & 0 deletions src/components/uiOptions/UIOptions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
Copyright 2013 OCAD University
Licensed under the Educational Community License (ECL), Version 2.0 or the New
BSD license. You may not use this file except in compliance with one these
Licenses.
You may obtain a copy of the ECL 2.0 License and BSD License at
https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt
*/

// Declare dependencies
/*global demo:true, fluid, jQuery, window*/

// JSLint options
/*jslint white: true, funcinvoke: true, undef: true, newcap: true, nomen: true, regexp: true, bitwise: true, browser: true, forin: true, maxerr: 100, indent: 4 */

var fluid_1_5 = fluid_1_5 || {};
(function ($, fluid) {

// Gradename to invoke "fluid.uiOptions.prefsEditor"
fluid.prefs.builder({
gradeNames: ["fluid.prefs.auxSchema.starter"],
auxiliarySchema: {
"namespace": "fluid.uiOptions"
}
});

})(jQuery, fluid_1_5);
10 changes: 10 additions & 0 deletions src/components/uiOptions/uiOptionsDependencies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"uiOptions": {
"name": "User Interface Options",
"description": "An instance of a preference editor created by the Infusion Prefernce Framework. Users customize their preferences and needs for viewing content.",
"files": [
"UIOptions.js"
],
"dependencies": ["jQuery", "framework", "preferences"]
}
}

0 comments on commit 14ab51c

Please sign in to comment.