Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2018 17:54:22 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329595 - head/stand/lua
Message-ID:  <201802191754.w1JHsMSA046838@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Mon Feb 19 17:54:22 2018
New Revision: 329595
URL: https://svnweb.freebsd.org/changeset/base/329595

Log:
  stand/lua: Re-order locals after copyright notice; require comes first

Modified:
  head/stand/lua/drawer.lua
  head/stand/lua/menu.lua
  head/stand/lua/password.lua

Modified: head/stand/lua/drawer.lua
==============================================================================
--- head/stand/lua/drawer.lua	Mon Feb 19 17:51:33 2018	(r329594)
+++ head/stand/lua/drawer.lua	Mon Feb 19 17:54:22 2018	(r329595)
@@ -26,11 +26,11 @@
 -- $FreeBSD$
 --
 
-local drawer = {};
-
 local color = require("color");
 local core = require("core");
 local screen = require("screen");
+
+local drawer = {};
 
 drawer.brand_position = {x = 2, y = 1};
 drawer.fbsd_logo = {

Modified: head/stand/lua/menu.lua
==============================================================================
--- head/stand/lua/menu.lua	Mon Feb 19 17:51:33 2018	(r329594)
+++ head/stand/lua/menu.lua	Mon Feb 19 17:54:22 2018	(r329595)
@@ -27,13 +27,13 @@
 --
 
 
-local menu = {};
-
 local core = require("core");
 local color = require("color");
 local config = require("config");
 local screen = require("screen");
 local drawer = require("drawer");
+
+local menu = {};
 
 local OnOff;
 local skip;

Modified: head/stand/lua/password.lua
==============================================================================
--- head/stand/lua/password.lua	Mon Feb 19 17:51:33 2018	(r329594)
+++ head/stand/lua/password.lua	Mon Feb 19 17:54:22 2018	(r329595)
@@ -26,10 +26,10 @@
 -- $FreeBSD$
 --
 
-local password = {};
-
 local core = require("core");
 local screen = require("screen");
+
+local password = {};
 
 function password.read()
 	local str = "";



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802191754.w1JHsMSA046838>