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

11 lines
180 B
CoffeeScript
Raw Normal View History

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