From 2bfd73b21427bcbbb351fba392f57c1c51737051 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 29 Jul 2011 20:37:11 +0200 Subject: [PATCH] fix vim line --- static/js/pandora.js | 2 +- static/js/pandora/Query.js | 2 +- static/js/pandora/UI.js | 2 +- static/js/pandora/URL.js | 2 +- static/js/pandora/autovalidate.js | 2 +- static/js/pandora/pandora.js | 2 +- static/js/pandora/ui/Ox.FilesView.js | 2 +- static/js/pandora/ui/account.js | 2 +- static/js/pandora/ui/appPanel.js | 2 +- static/js/pandora/ui/backButton.js | 2 +- static/js/pandora/ui/browser.js | 2 +- static/js/pandora/ui/contentPanel.js | 2 +- static/js/pandora/ui/editor.js | 2 +- static/js/pandora/ui/filter.js | 2 +- static/js/pandora/ui/filterDialog.js | 2 +- static/js/pandora/ui/findElement.js | 2 +- static/js/pandora/ui/flipbook.js | 2 +- static/js/pandora/ui/folderBrowser.js | 2 +- static/js/pandora/ui/folderBrowserBar.js | 2 +- static/js/pandora/ui/folderBrowserList.js | 2 +- static/js/pandora/ui/folders.js | 2 +- static/js/pandora/ui/foldersList.js | 2 +- static/js/pandora/ui/group.js | 2 +- static/js/pandora/ui/homePage.js | 2 +- static/js/pandora/ui/info.js | 2 +- static/js/pandora/ui/item.js | 2 +- static/js/pandora/ui/leftPanel.js | 2 +- static/js/pandora/ui/list.js | 3 ++- static/js/pandora/ui/mainPanel.js | 2 +- static/js/pandora/ui/menu.js | 2 +- static/js/pandora/ui/placesDialog.js | 2 +- static/js/pandora/ui/publicLists.js | 2 +- static/js/pandora/ui/rightPanel.js | 2 +- static/js/pandora/ui/sectionButtons.js | 2 +- static/js/pandora/ui/sectionSelect.js | 2 +- static/js/pandora/ui/sectionbar.js | 2 +- static/js/pandora/ui/sortSelect.js | 2 +- static/js/pandora/ui/status.js | 2 +- static/js/pandora/ui/statusbar.js | 2 +- static/js/pandora/ui/toolbar.js | 2 +- static/js/pandora/ui/viewSelect.js | 2 +- 41 files changed, 42 insertions(+), 41 deletions(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index 257525fe..3557a220 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript /*** Pandora ***/ diff --git a/static/js/pandora/Query.js b/static/js/pandora/Query.js index f14e56b1..65f8ca71 100644 --- a/static/js/pandora/Query.js +++ b/static/js/pandora/Query.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.Query = (function() { function constructFind(query) { diff --git a/static/js/pandora/UI.js b/static/js/pandora/UI.js index 291ee1f7..d7a13eff 100644 --- a/static/js/pandora/UI.js +++ b/static/js/pandora/UI.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.UI = (function() { return { set: function(obj) { diff --git a/static/js/pandora/URL.js b/static/js/pandora/URL.js index db18c85e..192c5465 100644 --- a/static/js/pandora/URL.js +++ b/static/js/pandora/URL.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.URL = (function() { diff --git a/static/js/pandora/autovalidate.js b/static/js/pandora/autovalidate.js index 7c107472..19e98887 100644 --- a/static/js/pandora/autovalidate.js +++ b/static/js/pandora/autovalidate.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.autovalidateCode = function(value, blur, callback) { value = $.map(value.toUpperCase().split(''), function(v) { return /[0-9A-Z]/(v) ? v : null; diff --git a/static/js/pandora/pandora.js b/static/js/pandora/pandora.js index aac27bba..4b7a1505 100644 --- a/static/js/pandora/pandora.js +++ b/static/js/pandora/pandora.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.enterFullscreen = function() { pandora.$ui.appPanel.size(0, 0); diff --git a/static/js/pandora/ui/Ox.FilesView.js b/static/js/pandora/ui/Ox.FilesView.js index d1738937..82d3e411 100644 --- a/static/js/pandora/ui/Ox.FilesView.js +++ b/static/js/pandora/ui/Ox.FilesView.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript Ox.FilesView = function(options, self) { diff --git a/static/js/pandora/ui/account.js b/static/js/pandora/ui/account.js index d89290fb..86ae076d 100644 --- a/static/js/pandora/ui/account.js +++ b/static/js/pandora/ui/account.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.accountDialog = function(action) { var that = Ox.Dialog($.extend({ diff --git a/static/js/pandora/ui/appPanel.js b/static/js/pandora/ui/appPanel.js index 88239113..7e05f77d 100644 --- a/static/js/pandora/ui/appPanel.js +++ b/static/js/pandora/ui/appPanel.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.appPanel = function() { var that = Ox.SplitPanel({ elements: [ diff --git a/static/js/pandora/ui/backButton.js b/static/js/pandora/ui/backButton.js index 3d7c97c4..41482d1c 100644 --- a/static/js/pandora/ui/backButton.js +++ b/static/js/pandora/ui/backButton.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.backButton = function() { var that = Ox.Button({ title: 'Back to ' + pandora.site.itemName.plural, diff --git a/static/js/pandora/ui/browser.js b/static/js/pandora/ui/browser.js index c4de5c57..180316a9 100644 --- a/static/js/pandora/ui/browser.js +++ b/static/js/pandora/ui/browser.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.browser = function() { var that; if (!pandora.user.ui.item) { diff --git a/static/js/pandora/ui/contentPanel.js b/static/js/pandora/ui/contentPanel.js index 89a17d73..2502f471 100644 --- a/static/js/pandora/ui/contentPanel.js +++ b/static/js/pandora/ui/contentPanel.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.contentPanel = function() { var that = Ox.SplitPanel({ elements: pandora.user.ui.item == '' ? [ diff --git a/static/js/pandora/ui/editor.js b/static/js/pandora/ui/editor.js index 702a6c1e..66464141 100644 --- a/static/js/pandora/ui/editor.js +++ b/static/js/pandora/ui/editor.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.annotations = function() { var that = Ox.Element({ id: 'annotations' diff --git a/static/js/pandora/ui/filter.js b/static/js/pandora/ui/filter.js index aabf6c9d..1b2158b3 100644 --- a/static/js/pandora/ui/filter.js +++ b/static/js/pandora/ui/filter.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.filter = function() { var that = Ox.Filter({ findKeys: Ox.map(pandora.site.itemKeys, function(key) { diff --git a/static/js/pandora/ui/filterDialog.js b/static/js/pandora/ui/filterDialog.js index ed0f07b7..97bb2fb2 100644 --- a/static/js/pandora/ui/filterDialog.js +++ b/static/js/pandora/ui/filterDialog.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.filterDialog = function() { var that = Ox.Dialog({ buttons: [ diff --git a/static/js/pandora/ui/findElement.js b/static/js/pandora/ui/findElement.js index 4ce6dfcb..d32c3b13 100644 --- a/static/js/pandora/ui/findElement.js +++ b/static/js/pandora/ui/findElement.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.findElement = function() { var findKey = '', findValue = ''; diff --git a/static/js/pandora/ui/flipbook.js b/static/js/pandora/ui/flipbook.js index 7ce9e2ee..86cf091e 100644 --- a/static/js/pandora/ui/flipbook.js +++ b/static/js/pandora/ui/flipbook.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.flipbook = function(item) { var that = Ox.Flipbook({ }).bindEvent('click', function(event, data) { diff --git a/static/js/pandora/ui/folderBrowser.js b/static/js/pandora/ui/folderBrowser.js index b628a7fc..4fc8fba9 100644 --- a/static/js/pandora/ui/folderBrowser.js +++ b/static/js/pandora/ui/folderBrowser.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.folderBrowser = function(id) { var that = Ox.SplitPanel({ elements: [ diff --git a/static/js/pandora/ui/folderBrowserBar.js b/static/js/pandora/ui/folderBrowserBar.js index 2aab4abe..895d4da2 100644 --- a/static/js/pandora/ui/folderBrowserBar.js +++ b/static/js/pandora/ui/folderBrowserBar.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.folderBrowserBar = function(id) { var that = Ox.Bar({ size: 24 diff --git a/static/js/pandora/ui/folderBrowserList.js b/static/js/pandora/ui/folderBrowserList.js index 78d3d871..881f39ba 100644 --- a/static/js/pandora/ui/folderBrowserList.js +++ b/static/js/pandora/ui/folderBrowserList.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.folderBrowserList = function(id) { var columnWidth = (pandora.user.ui.sidebarSize - Ox.UI.SCROLLBAR_SIZE - 88) / 2, i = Ox.getPositionById(pandora.site.sectionFolders[pandora.user.ui.section], id), diff --git a/static/js/pandora/ui/folders.js b/static/js/pandora/ui/folders.js index f58d4d6d..9f28b853 100644 --- a/static/js/pandora/ui/folders.js +++ b/static/js/pandora/ui/folders.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.folders = function() { var that = Ox.Element() .css({overflowX: 'hidden', overflowY: 'auto'}) diff --git a/static/js/pandora/ui/foldersList.js b/static/js/pandora/ui/foldersList.js index 9e4813b2..39597692 100644 --- a/static/js/pandora/ui/foldersList.js +++ b/static/js/pandora/ui/foldersList.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.folderList = function(id) { var i = Ox.getPositionById(pandora.site.sectionFolders[pandora.user.ui.section], id), that; diff --git a/static/js/pandora/ui/group.js b/static/js/pandora/ui/group.js index a2914ee8..c9c6a521 100644 --- a/static/js/pandora/ui/group.js +++ b/static/js/pandora/ui/group.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.group = function(id, query) { //Ox.print('group', id, query); /* diff --git a/static/js/pandora/ui/homePage.js b/static/js/pandora/ui/homePage.js index 6d872471..e87f3fbc 100644 --- a/static/js/pandora/ui/homePage.js +++ b/static/js/pandora/ui/homePage.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.homePage = function() { diff --git a/static/js/pandora/ui/info.js b/static/js/pandora/ui/info.js index 77de3690..e1e7c3fd 100644 --- a/static/js/pandora/ui/info.js +++ b/static/js/pandora/ui/info.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.info = function() { var that = Ox.Element() .append( diff --git a/static/js/pandora/ui/item.js b/static/js/pandora/ui/item.js index e8d9e8a1..1b341ccb 100644 --- a/static/js/pandora/ui/item.js +++ b/static/js/pandora/ui/item.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.item = function() { var that = Ox.Element(); pandora.api.getItem(pandora.user.ui.item, function(result) { diff --git a/static/js/pandora/ui/leftPanel.js b/static/js/pandora/ui/leftPanel.js index 10276feb..499bbfb4 100644 --- a/static/js/pandora/ui/leftPanel.js +++ b/static/js/pandora/ui/leftPanel.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.leftPanel = function() { var that = Ox.SplitPanel({ elements: [ diff --git a/static/js/pandora/ui/list.js b/static/js/pandora/ui/list.js index 28aa934b..110b21bd 100644 --- a/static/js/pandora/ui/list.js +++ b/static/js/pandora/ui/list.js @@ -1,4 +1,5 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript + pandora.ui.list = function(view) { // fixme: remove view argument var that, $map; //Ox.print('constructList', view); diff --git a/static/js/pandora/ui/mainPanel.js b/static/js/pandora/ui/mainPanel.js index 4638227c..7ecca0d0 100644 --- a/static/js/pandora/ui/mainPanel.js +++ b/static/js/pandora/ui/mainPanel.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.mainPanel = function() { var that = Ox.SplitPanel({ elements: [ diff --git a/static/js/pandora/ui/menu.js b/static/js/pandora/ui/menu.js index d44a1f87..6bdc15b5 100644 --- a/static/js/pandora/ui/menu.js +++ b/static/js/pandora/ui/menu.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.mainMenu = function() { var isGuest = pandora.user.level == 'guest', that = Ox.MainMenu({ diff --git a/static/js/pandora/ui/placesDialog.js b/static/js/pandora/ui/placesDialog.js index 03d379b4..0f063872 100644 --- a/static/js/pandora/ui/placesDialog.js +++ b/static/js/pandora/ui/placesDialog.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.placesDialog = function() { var height = Math.round(window.innerHeight * 0.9), width = Math.round(window.innerWidth * 0.9), diff --git a/static/js/pandora/ui/publicLists.js b/static/js/pandora/ui/publicLists.js index 4fd58a55..58b6752d 100644 --- a/static/js/pandora/ui/publicLists.js +++ b/static/js/pandora/ui/publicLists.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.publicListsDialog = function() { // fixme: unused var that = Ox.Dialog({ buttons: [ diff --git a/static/js/pandora/ui/rightPanel.js b/static/js/pandora/ui/rightPanel.js index 28eac131..a03dc451 100644 --- a/static/js/pandora/ui/rightPanel.js +++ b/static/js/pandora/ui/rightPanel.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.rightPanel = function() { var that; if (pandora.user.ui.section == 'site') { diff --git a/static/js/pandora/ui/sectionButtons.js b/static/js/pandora/ui/sectionButtons.js index 95403260..f3bea733 100644 --- a/static/js/pandora/ui/sectionButtons.js +++ b/static/js/pandora/ui/sectionButtons.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.sectionButtons = function() { var that = Ox.ButtonGroup({ buttons: [ diff --git a/static/js/pandora/ui/sectionSelect.js b/static/js/pandora/ui/sectionSelect.js index 50ad242b..a23ce5dd 100644 --- a/static/js/pandora/ui/sectionSelect.js +++ b/static/js/pandora/ui/sectionSelect.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.sectionSelect = function() { // fixme: duplicated var that = Ox.Select({ diff --git a/static/js/pandora/ui/sectionbar.js b/static/js/pandora/ui/sectionbar.js index 62501485..0a6f15d5 100644 --- a/static/js/pandora/ui/sectionbar.js +++ b/static/js/pandora/ui/sectionbar.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.sectionbar = function(mode) { var that = Ox.Bar({ size: 24 diff --git a/static/js/pandora/ui/sortSelect.js b/static/js/pandora/ui/sortSelect.js index 33ad0c27..9d6be32b 100644 --- a/static/js/pandora/ui/sortSelect.js +++ b/static/js/pandora/ui/sortSelect.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.sortSelect = function() { var that = Ox.Select({ id: 'sortSelect', diff --git a/static/js/pandora/ui/status.js b/static/js/pandora/ui/status.js index a91cd8ce..f82fce66 100644 --- a/static/js/pandora/ui/status.js +++ b/static/js/pandora/ui/status.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.status = function(key, data) { var that = Ox.toTitleCase(key) + ': ' + [ Ox.formatNumber(data.items) + ' movie' + (data.items != 1 ? 's' : ''), diff --git a/static/js/pandora/ui/statusbar.js b/static/js/pandora/ui/statusbar.js index 6f495843..1d488ca2 100644 --- a/static/js/pandora/ui/statusbar.js +++ b/static/js/pandora/ui/statusbar.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.statusbar = function() { var that = Ox.Bar({ size: 16 diff --git a/static/js/pandora/ui/toolbar.js b/static/js/pandora/ui/toolbar.js index 2ea4f724..6b7ef582 100644 --- a/static/js/pandora/ui/toolbar.js +++ b/static/js/pandora/ui/toolbar.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.toolbar = function() { var that = Ox.Bar({ size: 24 diff --git a/static/js/pandora/ui/viewSelect.js b/static/js/pandora/ui/viewSelect.js index 16f9d69b..e21e0c90 100644 --- a/static/js/pandora/ui/viewSelect.js +++ b/static/js/pandora/ui/viewSelect.js @@ -1,4 +1,4 @@ -// vim: et:ts=4:sw=4:sts=4:ft=js +// vim: et:ts=4:sw=4:sts=4:ft=javascript pandora.ui.viewSelect = function() { var that = Ox.Select({ id: 'viewSelect',