���̍L����60���ȏ�X�V���Ȃ��u���O�ɕ\��������Ă���܂��B
�ȉ��̂����ꂩ�̕��@�Ŕ�\���ɂ��邱�Ƃ��\�ł��B
�E�L���̓��e�A�ҏW�������Ȃ�
�E�}�C�u���O�́y�ݒ�z ���@�y�L���ݒ�z ���A�u60���ԍX�V�������ꍇ�v �� �u�L����\�����Ȃ��v�Ƀ`�F�b�N�����ĕۑ�����B
�����2006�N9��29���Ƀ����[�X���ꂽTiddlyWiki�̃o�[�W����2.1����B���낢��V������������A�����̃��[�U���厖�ȕ������A�b�v�O���[�h����Ƃ��͗v���ӂ����B
�V�@�\�F
�E�v���O�C����L�����ȒP�ɋ��L���邽�߂�ImportTiddlers�}�N��
�ETiddlyWiki�̋��͂ȃv���O�C���@�\���A��莋�o�I�ɊǗ��ł���PluginManager
�EOpera��Safari�ȂNJe��v���b�g�z�[���ŃZ�[�u�@�\����������TiddlySaver Java�A�v���b�g
�EMinimo��Nokia 770�ł��Z�[�u�\�ɂ�����
�ETiddlyWiki�̔z�F���ȒP�ɐݒ肷��ColorPalette
�E�L���̈ꕔ���擾���邽�߂�TiddlerSlicing(��*1)
�E�_�b�V�������̃T�|�[�g(��*2)
�E���̑��������i�����[�X�m�[�g�����Ă����ȁj
//{{{
Story.prototype.saveTiddler = function(title,minorUpdate)
{
var tiddler = document.getElementById(this.idPrefix + title);
if(tiddler != null)
{
var fields = {};
this.gatherSaveFields(tiddler,fields);
var newTitle = fields.title ? fields.title : title;
if(store.tiddlerExists(newTitle) && newTitle != title)
{
// 2006.09.22 ------------
var n = 1;
var tmpTitle = newTitle;
while (store.tiddlerExists(tmpTitle)) {
tmpTitle = newTitle + "_" + n;
n++;
}
newTitle = tmpTitle;
// -----------------------
}
tiddler.id = this.idPrefix + newTitle;
tiddler.setAttribute("tiddler",newTitle);
tiddler.setAttribute("dirty","false");
if(config.options.chkForceMinorUpdate)
minorUpdate = !minorUpdate;
var newDate = new Date();
store.saveTiddler(title,newTitle,fields.text,
config.options.txtUserName,
minorUpdate ? undefined : newDate,
fields.tags);
if(config.options.chkAutoSave)
saveChanges();
return newTitle;
}
return null;
}
config.macros.todo.onClick = function()
{
var m = config.macros.todo;
if (!confirm(m.alert))
return false;
var title = this.getAttribute("tiddler");
if (title == "") {
return false;
}
// 2006.09.22 --------------
var isProject = store.getTiddler(title).
isTagged("�v���W�F�N�g") ? true : false;
// -------------------------
var text = store.getTiddlerText(title);
while (text.match(/<<[^>]*>>/) != null)
text = text.replace(/<<[^>]*>>/, "");
while (text.match(/\/%[^%]*%\//) != null)
text = text.replace(/\/%[^%]*%\//, "");
while (text.match(/%[%\$] ?/) != null)
text = text.replace(/%[%\$] ?/, "");
while (text.match(/\[\[|\]\]/) != null)
text = text.replace(/\[\[|\]\]/, "");
list = text.split("\n");
var cnt = 0;
for (var i = 0; i < list.length; i++) {
var s = list[i];
var indent = "";
if (s.match(/^((\s|�@)+)/))
indent = RegExp.$1;
s = s.replace(/^(\s|�@)+/,"");
s = s.replace(/(\s|�@)+$/,"");
if (s == "")
continue;
// 2006.09.22 --------------
if (isProject)
s = title + ": " + s;
var n = 1;
var tmpTitle = s;
while (store.tiddlerExists(tmpTitle)) {
tmpTitle = s + "_" + n;
n++;
}
s = tmpTitle;
// -------------------------
list[i] = indent + "%% [[" + s + "]]";
cnt += m.createTiddler(s);
}
var tiddler = store.createTiddler(title);
tiddler.set(title, list.join("\n"));
refreshDisplay();
story.refreshTiddler(title, DEFAULT_VIEW_TEMPLATE, true);
alert(m.message.replace(/%0/, String(cnt)));
return false;
}
//}}}
�� | �� | �� | �� | �� | �� | �y |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |