Created
June 11, 2013 22:35
-
-
Save doowb/5761378 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 helperList = ['a', 'b', 'c', 'd', 'e']; | |
var documentedList = ['a', 'c']; | |
var undocumentedList = []; | |
helperList.forEach(function(helper) { | |
if(_.contains(documentedList, helper) === false) { | |
undocumentedList.push(helper); | |
} | |
}); | |
console.log(undocumentedList); |
Author
doowb
commented
Jun 11, 2013
module.exports = {
# jsFiddle: Embed a jsFiddle, second parameter sets tabs
# Usage: {{ jsfiddle [id] [tabs] }}
jsfiddle: jsfiddle = (id, tabs) ->
tabs = "result,js,html,css" if Utils.isUndefined(tabs)
result = '<iframe width="100%" height="300" src="http://jsfiddle.net/' + id + '/embedded/' + tabs + '/presentation/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>'
Utils.safeString(result)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment