Created
September 6, 2018 19:26
-
-
Save jbsarrodie/c9f5b590f11f8ce084a539c2382fa3da to your computer and use it in GitHub Desktop.
#jArchi script to delete a property on a selection of objects
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
var propName = window.prompt("Which property do you want to remove (leave empty to cancel)?", ""); | |
if (propName) { | |
$(selection).removeProp(propName); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment