@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Diviner: Correct Javelin class and command in Concepts: Behaviors

Summary: Extracted from https://we.phorge.it/D25457. Issue found and fix written originally by @Sten.

Test Plan:
Unsuccessfully look for JavelinHelper in the Phorge codebase.
(You could still find it in https://github.com/phacility/javelin/blob/master/support/php/JavelinHelper.php though.)
And probably run `./bin/diviner generate` (I did not).

Reviewers: O1 Blessed Committers, mainframe98

Reviewed By: O1 Blessed Committers, mainframe98

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno, Sten

Differential Revision: https://we.phorge.it/D26616

+1 -1
+1 -1
webroot/rsrc/externals/javelin/docs/concepts/behaviors.diviner
··· 38 38 39 39 lang=php 40 40 $config = array('hogName' => 'Ethel'); 41 - JavelinHelper::initBehaviors('win-a-hog', $config); 41 + Javelin::initBehavior('win-a-hog', $config); 42 42 43 43 Regardless, this will alert the user that they've won a hog (named Ethel, which 44 44 is a good name for a hog) when they load the page.