[Pkg-javascript-commits] [uglifyjs] 66/77: Don't use Object.create

Jonas Smedegaard dr at jones.dk
Tue May 19 00:02:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag v2.4.18
in repository uglifyjs.

commit 81b7335267d06b5c541d25ca17c9b8ed11f3b927
Author: Mihai Bazon <mihai.bazon at gmail.com>
Date:   Thu Mar 19 12:54:43 2015 +0200

    Don't use Object.create
---
 tools/props.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/props.html b/tools/props.html
index 576e143..f7c777a 100644
--- a/tools/props.html
+++ b/tools/props.html
@@ -3,7 +3,7 @@
   </head>
   <body>
     <script>(function(){
-      var props = Object.create(null);
+      var props = {};
 
       function addObject(obj) {
         if (obj == null) return;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list