Skip to content

Commit 96970c8

Browse files
committed
chore: add extension
1 parent 254b1f1 commit 96970c8

File tree

6 files changed

+32
-1
lines changed

6 files changed

+32
-1
lines changed

src/extensions/default/DefaultExtensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"QuickView",
2424
"SVGCodeHints",
2525
"UrlCodeHints",
26-
"HealthData"
26+
"HealthData",
27+
"phoenix-pro"
2728
],
2829
"desktopOnly": [
2930
"Git"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*
2+
* Copyright (c) 2021 - present core.ai . All rights reserved.
3+
* Proprietary code, all rights reserved.
4+
*/
5+
6+
console.log("this log is from the live preview");
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2021 - present core.ai . All rights reserved.
3+
* Proprietary code, all rights reserved.
4+
*/
5+
6+
define(function (require, exports, module) {
7+
const AppInit = brackets.getModule("utils/AppInit"),
8+
Strings = brackets.getModule("strings");
9+
10+
const sampleFnText = require("text!./browser-context/sample-remore-fn.js");
11+
const LiveDevProtocol = brackets.getModule("LiveDevelopment/MultiBrowserImpl/protocol/LiveDevProtocol");
12+
LiveDevProtocol.addRemoteFunctionScript("sampleFn", sampleFnText);
13+
14+
AppInit.appReady(function () {
15+
16+
});
17+
});
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "Phoenix-Pro",
3+
"version": "1.0.0",
4+
"dependencies": {
5+
}
6+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

src/extensions/default/phoenix-pro/unittests.js

Whitespace-only changes.

0 commit comments

Comments
 (0)