overleaf/services/web/app/coffee/Features/Project/DocLinesComparitor.coffee

11 lines
180 B
CoffeeScript
Raw Normal View History

2014-02-12 10:23:40 +00:00
_ = require "underscore"
module.exports =
areSame: (lines1, lines2)->
if !Array.isArray(lines1) or !Array.isArray(lines2)
return false
return _.isEqual(lines1, lines2)