File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -135,12 +135,11 @@ var clientService = {
135135}
136136
137137// Status Notice IDs
138- //const NS_DOWNLOADING = 002;
139- //const NS_DOWNLOAD_SUCCESSFUL = 005;
140- const NS_DOWNLOADING = 2 ;
138+ //const NS_DOWNLOADING = 002;
139+ //const NS_DOWNLOAD_SUCCESSFUL = 005;
140+ const NS_DOWNLOADING = 2 ;
141141const NS_DOWNLOAD_SUCCESSFUL = 5 ;
142142
143-
144143// Error Notice IDs
145144const NE_DOWNLOAD_FAILED = 102 ;
146145
@@ -162,22 +161,6 @@ var find_client = function () {
162161 }
163162} ;
164163
165- var version_as_number = function ( rawVersion ) {
166- var tempVersion = rawVersion . toString ( ) . split ( "." ) ;
167- tempVersion . push ( '0' ) ;
168-
169- if ( tempVersion . length < 3 ) {
170- if ( tempVersion . length === 1 )
171- tempVersion = '0.0.0' ;
172- else
173- tempVersion . unshift ( '0' ) ;
174- }
175-
176- // Allow for any of the three numbers to be between 0 and 1023.
177- // Equivalent to: (Major * 104856) + (Minor * 1024) + Revision.
178- return ( Number ( tempVersion [ 0 ] ) << 20 | Number ( tempVersion [ 1 ] ) << 10 | Number ( tempVersion [ 2 ] ) ) ;
179- } ;
180-
181164var setPropToolbarButtons = function ( ui_btn_state ) {
182165 if ( ui_btn_state === 'available' ) {
183166 if ( projectData && projectData . board === 's3' ) {
You can’t perform that action at this time.
0 commit comments