Last active
September 11, 2019 08:27
-
-
Save RALMAZ/8b88365814d0e850b59e751b69790631 to your computer and use it in GitHub Desktop.
Js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.onerror = myOnError; | |
function myOnError(msg, url, lno) { | |
return true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function explode( delimiter, string ) { // Split a string by string | |
var emptyArray = { 0: '' }; | |
if ( arguments.length != 2 | |
|| typeof arguments[0] == 'undefined' | |
|| typeof arguments[1] == 'undefined' ) | |
{ | |
return null; | |
} | |
if ( delimiter === '' | |
|| delimiter === false | |
|| delimiter === null ) | |
{ | |
return false; | |
} | |
if ( typeof delimiter == 'function' | |
|| typeof delimiter == 'object' | |
|| typeof string == 'function' | |
|| typeof string == 'object' ) | |
{ | |
return emptyArray; | |
} | |
if ( delimiter === true ) { | |
delimiter = '1'; | |
} | |
return string.toString().split ( delimiter.toString() ); | |
} | |
and method call as in php | |
explode('/', window.location.href); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
axios.get(`#` + this.multipleSelection[i].O3) | |
.then(response => { | |
this.multipleSelection2 = response.data, | |
this.multipleSelection2.pop(), | |
this.tableData4 = this.tableData4.concat(this.multipleSelection2) | |
}).catch(e => {}) | |
v-if="text{ID}.search(searcha) != -1" |
Author
RALMAZ
commented
Sep 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment