]> khamidou — GitHub mirrors - electron.git/commitdiff
:fire: stray `ref`
authorJessica Lord <jlord@github.com>
Fri, 15 Jan 2016 01:03:55 +0000 (17:03 -0800)
committerJessica Lord <jlord@github.com>
Fri, 15 Jan 2016 01:03:55 +0000 (17:03 -0800)
atom/renderer/api/lib/desktop-capturer.js

index f9b7ca393d86a33b449d6515fae82047d49dcb55..c445bfecbe1baf37831c4b53f0e212fb12abc3e3 100644 (file)
@@ -1,5 +1,5 @@
 const ipcRenderer = require('electron').ipcRenderer;
-const nativeImage = require('electron').ref.nativeImage;
+const nativeImage = require('electron').nativeImage;
 
 var nextId = 0;
 var indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };