Skip to content

Instantly share code, notes, and snippets.

@Koviko
Koviko / ArkInventory.lua
Last active Mar 14, 2019
8.1.5 ItemButton changes for ArkInventory `r818-alpha`
View ArkInventory.lua
--[[
License: All Rights Reserved, (c) 2006-2018
$Revision: 2319 $
$Date: 2019-03-03 22:42:48 +1100 (Sun, 03 Mar 2019) $
]]--
local _G = _G
@Koviko
Koviko / ArkInventory.lua
Last active Mar 15, 2019
8.1.5 ItemButton changes for ArkInventory `r812`
View ArkInventory.lua
--[[
License: All Rights Reserved, (c) 2006-2018
$Revision: 2304 $
$Date: 2019-01-23 21:21:31 +1100 (Wed, 23 Jan 2019) $
]]--
local _G = _G
View Basic feed functionality
(function ($) {
"use strict";
function buildTemplate(data) { // Build the template (you should use a microtemplating engine)
return "<div>" + data.toString() + "</div>";
}
var Feed = function (url) {
this.events = {};
this.url = url;
You can’t perform that action at this time.