mirror of
https://github.com/hak5darren/wifipineapple-wiki.git
synced 2025-10-29 16:59:29 +00:00
Fixed a couple of javascript functions.
This commit is contained in:
10
api.md
10
api.md
@@ -138,7 +138,7 @@ This will set a variable named "$pineapple" up to be with the Pineapple API obje
|
||||
* nonblocking manner.
|
||||
* @param string $command The command to execute
|
||||
*/
|
||||
$pineapple>execute($command)
|
||||
$pineapple->execute($command)
|
||||
|
||||
|
||||
/**
|
||||
@@ -147,7 +147,7 @@ This will set a variable named "$pineapple" up to be with the Pineapple API obje
|
||||
* @param string $destination optional: 'internal' or 'sd'
|
||||
* @return boolean Successful initiation of package install
|
||||
*/
|
||||
$pineapple>installPackage($pkg_or_array, $destination = "internal")
|
||||
$pineapple->installPackage($pkg_or_array, $destination = "internal")
|
||||
|
||||
|
||||
/**
|
||||
@@ -165,7 +165,7 @@ This will set a variable named "$pineapple" up to be with the Pineapple API obje
|
||||
* @param string $password Password to verify
|
||||
* @return boolean correct
|
||||
*/
|
||||
$pineapple->verifyPassword($password)
|
||||
$pineapple->verifyPassword($password)
|
||||
|
||||
|
||||
/**
|
||||
@@ -173,7 +173,7 @@ This will set a variable named "$pineapple" up to be with the Pineapple API obje
|
||||
* @param string $notification The notification to be sent
|
||||
* @return null
|
||||
*/
|
||||
$pineapple->sendNotification($notification)
|
||||
$pineapple->sendNotification($notification)
|
||||
|
||||
|
||||
/**
|
||||
@@ -183,7 +183,7 @@ This will set a variable named "$pineapple" up to be with the Pineapple API obje
|
||||
* see /pineapple/components/infusions/{name}/tabs
|
||||
* @param array $tabs An array of tabs to draw
|
||||
*/
|
||||
$pineapple->drawTabs(array $tabs)
|
||||
$pineapple->drawTabs(array $tabs)
|
||||
```
|
||||
|
||||
## JavaScript API Functions
|
||||
|
||||
Reference in New Issue
Block a user