for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
/*
* This file is part of Sulu.
*
* (c) MASSIVE ART WebServices GmbH
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
define(['type/default'], function(Default) {
'use strict';
return function($el, options) {
var defaults = {},
subType = {
setValue: function(value) {
App.dom.data($el, 'value', value);
App
/** global: App */
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.
},
getValue: function() {
return App.dom.data($el, 'value');
needsValidation: function() {
return true;
validate: function() {
var value = this.getValue();
return value && value.page && value.page.uuid;
}
};
return new Default($el, defaults, options, 'pageTreeRoute', subType);
});
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.