diff --git a/src/client/ClientDependencyFactory.js b/src/client/ClientDependencyFactory.js index 2f27dc9..a157f94 100644 --- a/src/client/ClientDependencyFactory.js +++ b/src/client/ClientDependencyFactory.js @@ -1,7 +1,7 @@ /** * Factory for Client dependencies * - * Copyright (C) 2017 R-T Specialty, LLC. + * Copyright (C) 2017, 2018 R-T Specialty, LLC. * * This file is part of the Liza Data Collection Framework * @@ -91,8 +91,7 @@ var Step = require( '../step/Step' ), SidebarErrorStyler = require( '../ui/styler/SidebarErrorStyler' ), ErrorFieldStyler = require( '../ui/styler/ErrorFieldStyler' ), - NaFieldStyler = require( '../ui/styler/NaFieldStyler' ), - NaFieldStylerAnimation = require( '../ui/styler/NaFieldStylerAnimation' ), + NaFieldStyler = require( '../ui/styler/NaFieldStyler' ), DelegateEventHandler = require( './event/DelegateEventHandler' ), @@ -331,8 +330,7 @@ module.exports = Class( 'ClientDependencyFactory', createNaFieldStyler: function() { - return NaFieldStyler - .use( NaFieldStylerAnimation( jQuery ) )(); + return NaFieldStyler(); }, createFormErrorBox: FormErrorBox, diff --git a/src/ui/styler/NaFieldStylerAnimation.js b/src/ui/styler/NaFieldStylerAnimation.js deleted file mode 100644 index 1e5829b..0000000 --- a/src/ui/styler/NaFieldStylerAnimation.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * Animated N/A field styler - * - * Copyright (C) 2016 R-T Specialty, LLC. - * - * This file is part of liza. - * - * liza is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -var Trait = require( 'easejs' ).Trait, - NaFieldStyler = require( './NaFieldStyler' ); - - -/** - * Sliding animations for field show/hide - * - * @todo Use CSS3 once we can drop support for IE<10 - */ -module.exports = Trait.extend( NaFieldStyler, -{ - /** - * jQuery instance - * @type {jQuery} - */ - 'private _jquery': null, - - - /** - * Prepare mixin with jQuery instance - * - * @param {jQuery} jquery jQuery instance - */ - __mixin: function( jquery ) - { - this._jquery = jquery; - }, - - - /** - * Animate field display - * - * When a field becomes applicable, progressively increase its height - * ("slide down"). - * - * @param {HTMLElement} element field DOM element - * @param {Array.