summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArun Isaac2017-08-06 22:02:56 +0530
committerArun Isaac2017-08-06 22:02:56 +0530
commit3dc0f0eac6814bb620dbe6de71def3400a193981 (patch)
tree1630e8eea71c8c5ac9e4852fe4982bcb5109dea6 /Makefile
parente7c7bf5fabccf2ad103d67d0a6ff50c13a9d946e (diff)
downloadyoutube-noscript-shim-3dc0f0eac6814bb620dbe6de71def3400a193981.tar.gz
youtube-noscript-shim-3dc0f0eac6814bb620dbe6de71def3400a193981.tar.lz
youtube-noscript-shim-3dc0f0eac6814bb620dbe6de71def3400a193981.zip
Simplify code.
* viewtube.js: Use assignment expressions in IF conditions, instead of putting them as separate statements. OR match result with [] to always get an array as the returned value. (cleanMyContent): Combine replace expressions into one. (ytVideos): Remove boolean flag `ytVideoFound'. Replace detection of DASH video with FOR loops.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions