refactoring to improve code quality

This commit is contained in:
El RIDO 2016-07-11 14:15:20 +02:00
parent 79509ad48a
commit 3b3b5277eb
17 changed files with 223 additions and 246 deletions

View file

@ -507,7 +507,7 @@ $(function() {
/**
* Get the pastes unique identifier from the URL
* eg. http://server.com/zero/?c05354954c49a487#xxx --> c05354954c49a487
* eg. http://server.com/zero/?c05354954c49a487#c05354954c49a487 returns c05354954c49a487
*
* @return string unique identifier
*/
@ -589,7 +589,7 @@ $(function() {
this.prettyPrint.html(
prettyPrintOne(text, null, true)
);
};
}
default:
// Convert URLs to clickable links.
helper.urls2links(this.clearText);