Skip to content

Commit

Permalink
FLUID-6087: Updated copyrights for manual-tests
Browse files Browse the repository at this point in the history
Also fixed line endings
  • Loading branch information
jobara committed Dec 1, 2016
1 parent 4992b9e commit 9038e59
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 83 deletions.
Expand Up @@ -3,6 +3,7 @@ Copyright 2008-2009 University of Cambridge
Copyright 2008-2010 University of Toronto
Copyright 2008-2009 University of California, Berkeley
Copyright 2010-2011 OCAD University
Copyright 2012 Raising the Floor - US
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
Expand Down
@@ -1,5 +1,6 @@
/*
Copyright 2013 OCAD University
Copyright 2013-2014 OCAD University
Copyright 2015 Raising the Floor - International
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
Expand Down
@@ -1,5 +1,6 @@
/*
Copyright 2010 OCAD University
Copyright 2010-2014 OCAD University
Copyright 2012 Raising the Floor - US
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
Expand Down
@@ -1,81 +1,81 @@
/*
Copyright 2011 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
*/

/* global fluid */

var assortedContent = assortedContent || {};
(function ($, fluid) {
"use strict";

/* Our demo script */
assortedContent.slidingPrefsEditor = function () {
// First, start up Settings Store and Page Enhancer
fluid.prefs.globalSettingsStore();
fluid.pageEnhancer({
uiEnhancer: {
gradeNames: ["fluid.uiEnhancer.starterEnactors"],
classnameMap: {
theme: {
"default": "assortedContent-theme-basic"
}
},
tocTemplate: "../../../../../src/components/tableOfContents/html/TableOfContents.html"
}
});

fluid.defaults("fluid.assortedContent.native", {
iframeRenderer: {
markupProps: {
src: "../../../../../src/framework/preferences/html/SeparatedPanelPrefsEditorFrame-nativeHTML.html"
}
}
});

fluid.defaults("fluid.assortedContent.jQueryUI", {
iframeRenderer: {
markupProps: {
src: "../../../../../src/framework/preferences/html/SeparatedPanelPrefsEditorFrame-jQueryUI.html"
}
}
});

// Next, start up Preferences Editor
fluid.prefs.separatedPanel(".flc-prefsEditor-separatedPanel", {
gradeNames: ["fluid.prefs.transformDefaultPanelsOptions", "fluid.prefs.initialModel.starter", "fluid.contextAware"],
terms: {
templatePrefix: "../../../../../src/framework/preferences/html/",
messagePrefix: "../../../../../src/framework/preferences/messages/"
},
messageLoader: {
gradeNames: ["fluid.prefs.starterMessageLoader"]
},
templateLoader: {
gradeNames: ["fluid.prefs.starterSeparatedPanelTemplateLoader"]
},
prefsEditor: {
gradeNames: ["fluid.prefs.starterPanels", "fluid.prefs.uiEnhancerRelay"]
},
contextAwareness: {
sliderVariety: {
checks: {
jQueryUI: {
contextValue: "{fluid.prefsWidgetType}",
equals: "jQueryUI",
gradeNames: "fluid.assortedContent.jQueryUI"
}
},
defaultGradeNames: "fluid.assortedContent.native"
}
}
});
};

})(jQuery, fluid);
/*
Copyright 2011-2016 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
*/

/* global fluid */

var assortedContent = assortedContent || {};
(function ($, fluid) {
"use strict";

/* Our demo script */
assortedContent.slidingPrefsEditor = function () {
// First, start up Settings Store and Page Enhancer
fluid.prefs.globalSettingsStore();
fluid.pageEnhancer({
uiEnhancer: {
gradeNames: ["fluid.uiEnhancer.starterEnactors"],
classnameMap: {
theme: {
"default": "assortedContent-theme-basic"
}
},
tocTemplate: "../../../../../src/components/tableOfContents/html/TableOfContents.html"
}
});

fluid.defaults("fluid.assortedContent.native", {
iframeRenderer: {
markupProps: {
src: "../../../../../src/framework/preferences/html/SeparatedPanelPrefsEditorFrame-nativeHTML.html"
}
}
});

fluid.defaults("fluid.assortedContent.jQueryUI", {
iframeRenderer: {
markupProps: {
src: "../../../../../src/framework/preferences/html/SeparatedPanelPrefsEditorFrame-jQueryUI.html"
}
}
});

// Next, start up Preferences Editor
fluid.prefs.separatedPanel(".flc-prefsEditor-separatedPanel", {
gradeNames: ["fluid.prefs.transformDefaultPanelsOptions", "fluid.prefs.initialModel.starter", "fluid.contextAware"],
terms: {
templatePrefix: "../../../../../src/framework/preferences/html/",
messagePrefix: "../../../../../src/framework/preferences/messages/"
},
messageLoader: {
gradeNames: ["fluid.prefs.starterMessageLoader"]
},
templateLoader: {
gradeNames: ["fluid.prefs.starterSeparatedPanelTemplateLoader"]
},
prefsEditor: {
gradeNames: ["fluid.prefs.starterPanels", "fluid.prefs.uiEnhancerRelay"]
},
contextAwareness: {
sliderVariety: {
checks: {
jQueryUI: {
contextValue: "{fluid.prefsWidgetType}",
equals: "jQueryUI",
gradeNames: "fluid.assortedContent.jQueryUI"
}
},
defaultGradeNames: "fluid.assortedContent.native"
}
}
});
};

})(jQuery, fluid);

0 comments on commit 9038e59

Please sign in to comment.