Soashable - JsLint Javascript Verifier report

RosterElement.js

position error code
94:1 Missing semicolon. }
135:21 Use '!==' to compare with 'null'. if( item != null ) {
163:37 Use '!==' to compare with 'null'. if( this.getGroup(groupName) != null ) {
217:41 Use '!==' to compare with 'null'. if( this.getItem(groupName, jid) != null ) {
222:22 Use '===' to compare with 'null'. if( groupNode == null ) {
239:97 Line breaking error 'OFFLINE_GROUP'. var canMove = newParent.attributes.groupName != Xmpp4Js.UI.Roster.RosterTree.OFFLINE_GROUP
240:56 Line breaking error 'group'. && newParent.attributes.type == "group"
271:17 Use '===' to compare with 'null'. if( item == null ) {
274:22 Use '===' to compare with 'null'. if( fromGroup == null ) {
277:20 Use '===' to compare with 'null'. if( toGroup == null ) {
280:43 Use '!==' to compare with 'null'. if( this.getItem(toGroupName, jid) != null ) {
306:25 Use '===' to compare with 'null'. if( itemNode == null && newGroups.indexOf( groupName ) > -1 ) {
308:32 Use '!==' to compare with 'null'. } else if( itemNode != null && newGroups.indexOf( groupName ) == -1 ) {
356:24 Use '!==' to compare with 'null'. if( offlineItem != null ) {
375:1 Missing semicolon. }
408:1 Missing semicolon. }
462:0 Unnecessary semicolon. ;;; Xmpp4Js.UI.Roster.BoundRosterTree.logger.info( jid.toString() + " is now " + newPresence.getType() + "; entry: " );
462:1 Unnecessary semicolon. ;;; Xmpp4Js.UI.Roster.BoundRosterTree.logger.info( jid.toString() + " is now " + newPresence.getType() + "; entry: " );
462:2 Unnecessary semicolon. ;;; Xmpp4Js.UI.Roster.BoundRosterTree.logger.info( jid.toString() + " is now " + newPresence.getType() + "; entry: " );
464:18 Use '!==' to compare with 'null'. if( entry != null ) {
474:27 'i' is already defined. for( var i = 0; i < groups.length; i++ ) {
486:0 Unnecessary semicolon. ;;; Xmpp4Js.UI.Roster.BoundRosterTree.logger.warn( jid.toString() + " is not in roster." );
486:1 Unnecessary semicolon. ;;; Xmpp4Js.UI.Roster.BoundRosterTree.logger.warn( jid.toString() + " is not in roster." );
486:2 Unnecessary semicolon. ;;; Xmpp4Js.UI.Roster.BoundRosterTree.logger.warn( jid.toString() + " is not in roster." );
489:1 Missing semicolon. }

ChatRenderer.js

position error code
37:1 Missing semicolon. }
51:191 Line breaking error ')'. Xmpp4Js.UI.Chat.ChatRenderer.messageTemplate = new Ext.Template('
{from}: {message}
')
51:192 Missing semicolon. Xmpp4Js.UI.Chat.ChatRenderer.messageTemplate = new Ext.Template('
{from}: {message}
')
87:25 Line breaking error ')'. el = Ext.get( el )
87:26 Missing semicolon. el = Ext.get( el )
95:1 Missing semicolon. }

About Soashable Web UI Components

Reusable UI components

Project Documentation

Powered By