Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 16th, 2012  |  syntax: JavaScript  |  size: 0.18 KB  |  views: 61  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.         $scope.update_codemirror = function () { // hack for code mirror
  2.                 _.defer(function () {
  3.                         $('.CodeMirror').each(function(i, el) {
  4.                                 el.CodeMirror.refresh();
  5.                         });
  6.                 });
  7.         };
clone this paste RAW Paste Data