Case preserving word replacement
Half way through my project, my people turned into dogs. Now I have to change everything in my source.
Start file
function Human() {
}
Human.prototype = {
humanStuff: function(){},
doHumanStuff: function() {
useDigitalWatch();
}
}
End file
function Dog() {
}
Dog.prototype = {
dogStuff: function(){},
doDogStuff: function() {
useDigitalWatch();
}
}
View Diff
1c1
< function Human() {
---
> function Dog() {
5,7c5,7
< Human.prototype = {
< humanStuff: function(){},
< doHumanStuff: function() {
---
> Dog.prototype = {
> dogStuff: function(){},
> doDogStuff: function() {
10a11
>
Solutions by @roudens2:
Unlock 2 remaining solutions by signing in and submitting your own entry