Permalink
Browse files

Merge branch 'master' of http://github.com/rmurphey/enterprise-js int…

…o rmurphey-master

Conflicts:
	tips.js
  • Loading branch information...
2 parents e683280 + 8689348 commit 1ea0e1f2915d75d492cad201478c5ff5f6c99c0b @bentruyman committed Nov 1, 2010
Showing with 10 additions and 0 deletions.
  1. +10 −0 tips.js
View
@@ -559,4 +559,14 @@ tips.push({
]
});
+tips.push({
+ author : 'rmurphey',
+ message : 'Making really sure something exists before you use it',
+ example : [
+ "if (foo && foo != null && foo.length && foo.length > 0) {",
+ " console.log('we have a winnar!');",
+ "}"
+ ]
+});
+
module.exports = tips;

0 comments on commit 1ea0e1f

Please sign in to comment.