mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 05:57:58 +01:00
fixed xpi generation; made dumpStack() more readable by NOT removing \n
This commit is contained in:
@@ -8,7 +8,7 @@ DOC_SRC_FILES = $(wildcard locale/*/*.txt)
|
||||
DOC_FILES = ${DOC_SRC_FILES:%.txt=%.html}
|
||||
|
||||
# TODO: specify source files manually?
|
||||
JAR_TXT_FILES = ${shell find -L content skin locale \
|
||||
JAR_TXT_FILES = ${shell find -L content skin locale components \
|
||||
-type f \
|
||||
-a ! -path '*CVS*' \
|
||||
-a \( \
|
||||
@@ -37,7 +37,7 @@ XPI_TXT_FILES = install.rdf chrome.manifest TODO AUTHORS Donators NEWS License.t
|
||||
-a -path '*.jsm' \
|
||||
}
|
||||
XPI_DIRS = $(foreach f,${XPI_FILES},$(dir $f))
|
||||
XPI_BIN_FILES = ${JAR} Makefile.common Makefile components/*
|
||||
XPI_BIN_FILES = ${JAR} Makefile.common Makefile
|
||||
XPI_FILES = ${XPI_BIN_FILES} ${XPI_TXT_FILES}
|
||||
XPI_NAME = ${NAME}_${VERSION}.xpi
|
||||
XPI = ../downloads/${XPI_NAME}
|
||||
|
||||
@@ -660,7 +660,8 @@ const liberator = (function () //{{{
|
||||
|
||||
dumpStack: function (msg)
|
||||
{
|
||||
liberator.dump((msg || "") + (new Error()).stack.replace(/.*\n/, ""));
|
||||
//liberator.dump((msg || "") + (new Error()).stack.replace(/.*\n/, ""));
|
||||
liberator.dump((msg || "") + (new Error()).stack);
|
||||
},
|
||||
|
||||
eval: function (str)
|
||||
|
||||
@@ -92,7 +92,7 @@ function Mail() //{{{
|
||||
function getFolderCompletions(filter)
|
||||
{
|
||||
var completions = [];
|
||||
var folders = mail.getFolders();
|
||||
var folders = mail.getFolders(filter);
|
||||
|
||||
for (let folder = 0; folder < folders.length; folder++)
|
||||
{
|
||||
@@ -101,7 +101,8 @@ function Mail() //{{{
|
||||
"Unread: " + folders[folder].getNumUnread(false)]);
|
||||
}
|
||||
|
||||
return [0, completion.filter(completions, filter)];
|
||||
//return [0, completion.filter(completions, filter)];
|
||||
return [0, completions];
|
||||
}
|
||||
|
||||
function getRSSUrl()
|
||||
|
||||
Reference in New Issue
Block a user