Skip to content

Commit 46fc91a

Browse files
remove fails README, change repository name and change all raylib import on example to using relative path
1 parent 4b811fd commit 46fc91a

28 files changed

+27
-31
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Tested only on ARM MacOS.
2-
31
![node-raylib Logo](logo/raylib-node_256x256.png)
42

53
# node-raylib [![npm version](http://img.shields.io/npm/v/raylib.svg)](https://npmjs.org/package/raylib "View this project on npm") [![Tests](https://github.com/RobLoach/node-raylib/workflows/Tests/badge.svg)](https://github.com/RobLoach/node-raylib/actions?query=workflow%3ATests+branch%3Amaster "See automated test status on GitHub Actions")

examples/audio/audio_module_playing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
********************************************************************************************/
1212

13-
const r = require('raylib')
13+
const r = require('../../index.js')
1414

1515
const MAX_CIRCLES = 64
1616

examples/audio/audio_multichannel_sound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
********************************************************************************************/
1313

14-
const r = require('raylib')
14+
const r = require('../../index.js')
1515
const { join } = require('node:path')
1616

1717
// Initialization

examples/audio/audio_music_stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
********************************************************************************************/
1111

12-
const r = require('raylib')
12+
const r = require('../../index.js')
1313
const { join } = require('node:path')
1414

1515
// Initialization

examples/audio/audio_raw_stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
********************************************************************************************/
1414

15-
const r = require('raylib')
15+
const r = require('../../index.js')
1616

1717
function memcpy (src, srcOffset, dst, dstOffset, length) {
1818
let i

examples/audio/audio_sound_loading.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
********************************************************************************************/
1111

12-
const r = require('raylib')
12+
const r = require('../../index.js')
1313
const { join } = require('node:path')
1414

1515
// Initialization

examples/core/core_3d_camera_first_person.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
********************************************************************************************/
1111

12-
const r = require('raylib')
12+
const r = require('../../index.js')
1313

1414
const MAX_COLUMNS = 20
1515

examples/core/core_3d_camera_mode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
********************************************************************************************/
1111

12-
const r = require('raylib')
12+
const r = require('../../index.js')
1313

1414
// Initialization
1515
// --------------------------------------------------------------------------------------

examples/core/core_basic_window.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
********************************************************************************************/
1010

11-
const r = require('raylib')
11+
const r = require('../../index.js')
1212

1313
// Initialization
1414
// --------------------------------------------------------------------------------------

examples/core/core_input_mouse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
********************************************************************************************/
1111

12-
const r = require('raylib')
12+
const r = require('../../index.js')
1313

1414
// Initialization
1515
// --------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)