UNPKG

gpii-universal

Version:

Cross platform, core components of the GPII personalization infrastructure.

38 lines (32 loc) 1.12 kB
/** * GPII Device Reporter Utilities. * * Copyright 2015 Emergya * * Licensed under the New BSD license. You may not use this file except in * compliance with this License. * * The research leading to these results has received funding from the European Union's * Seventh Framework Programme (FP7/2007-2013) * under grant agreement no. 289016. * * You may obtain a copy of the License at * https://github.com/GPII/universal/blob/master/LICENSE.txt */ "use strict"; var fluid = require("infusion"), gpii = fluid.registerNamespace("gpii"); fluid.registerNamespace("gpii.deviceReporter"); /* Marker function for use in isInstalled sections of Solutions Registry * to identify in a meaningful way that the solution is always installed or * available to the system. * This is meant to be used by any OS built-in solution that needs to report * to the dynamic device reporter that they are always installed. */ fluid.defaults("gpii.deviceReporter.alwaysInstalled", { gradeNames: "fluid.function", argumentMap: {} }); gpii.deviceReporter.alwaysInstalled = function () { return true; };