jpm

JPM not working

倖福魔咒の 提交于 2019-12-05 20:09:31
问题 I've just tried using JPM for the first time, and I can't get anything to work. My index.js file looks like this: const actionButton = require('sdk/ui/button/action'); const TAG = "Addon Scratchpad / Index "; console.log(TAG+'in index.js'); var button = actionButton.ActionButton({ id: "my-button", label: "my button", icon: { "16": "./tool-scratchpad-16.png", "32": "./tool-scratchpad-32.png" }, onClick: function() { debugger; console.log(TAG+'button clicked'); } }); The Folder structure is

JPM not working

感情迁移 提交于 2019-12-04 02:39:19
I've just tried using JPM for the first time, and I can't get anything to work. My index.js file looks like this: const actionButton = require('sdk/ui/button/action'); const TAG = "Addon Scratchpad / Index "; console.log(TAG+'in index.js'); var button = actionButton.ActionButton({ id: "my-button", label: "my button", icon: { "16": "./tool-scratchpad-16.png", "32": "./tool-scratchpad-32.png" }, onClick: function() { debugger; console.log(TAG+'button clicked'); } }); The Folder structure is standard: index.js and package.json files and a data folder with the button png assets. jpm run results in

How to search and extract certain values in cells - VBA

匿名 (未验证) 提交于 2019-12-03 01:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have the following data, which can be seen by using the link below: Example of Input and desired Output Data Using the following logic: Extract all of JPM (arranger’s) total values from "Sheet1" and plot them in sheet 2, on each row under the column that says JPM. For example, if B1 in "Sheet2", is equals to BAML, then search BAML in sheet 1 and extract all its total values from column F and insert in "Sheet2", under the BAML column. Please NOTE: for example BAML can be in a cell by itself or it can be in any other position in a cell in

Generating signed XPI via jpm failed

匿名 (未验证) 提交于 2019-12-03 00:57:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: There was a problem signing an Add-On via jpm : The command jpm -v sign --api-key 'user:xxxxxxxx:xxx' --api-secret xxxxxxxxxxxxxxxxxxxxxxxxx failed with the error message Error: Received bad response from the server while requesting https://addons.mozilla.org/api/v3/addons/%40addonname/versions/0.x.y/ Signing via the web interface worked. How can this be fixed? The full verbose output is JPM [info] binary set to /usr/bin/firefox JPM [info] verbose set JPM [info] Checking compatability bootstrap.js and install.rdf for xpi Validating the

jpm run does NOT work with Firefox 48, or later

放肆的年华 提交于 2019-11-28 07:59:07
问题 jpm version is 1.1.3 npm version is 2.15.8 Node version is 4.4.7 Firefox version is 48.0 Content of index.js : var self = require("sdk/self"); console.log("************************************"); Output of "jpm run" command JPM [info] Starting jpm run on My Jetpack Addon JPM [info] Creating a new profile As per the content of the index.js file, a line of * symbols should be output on the console. But, the desire output is not in the console. Is there any problem with the code? Content of my