flint-tools
Advanced tools
Comparing version 1.0.83 to 1.0.84
@@ -62,3 +62,3 @@ function flintRun_tools(node, opts, cb) { | ||
Flint.view("Errors", "-936275608", function (view, on) { | ||
Flint.view("Errors", "1979299311", function (view, on) { | ||
var error = null; | ||
@@ -114,3 +114,3 @@ var compileError = null; | ||
view.update(view._render = function () {return view.el(0, "Flint.ErrorsWrapper", {view: view}, view.el(1, "ErrorMessage", { | ||
view.render = function () {return view.el(0, "Flint.ErrorsWrapper", {view: view}, view.el(1, "ErrorMessage", { | ||
error: error, | ||
@@ -121,3 +121,3 @@ runtime: runtimeError, | ||
);}); | ||
);}; | ||
view.styles.$div = function(_index) { return { | ||
@@ -131,3 +131,3 @@ position: 'absolute', | ||
Flint.view("ErrorMessage", "2014422815", function (view, on) { | ||
Flint.view("ErrorMessage", "1355419900", function (view, on) { | ||
var last = function last(arr) {return arr[arr.length - 1];}; | ||
@@ -147,3 +147,3 @@ var fileName = function fileName(url) {return url && last(url.split('/'));}; | ||
view.update(view._render = function () {return view.el(2, "Flint.ErrorMessageWrapper", {view: view}, view.props.error && view.el(3, "inner", {if: view.props.error}, | ||
view.render = function () {return view.el(2, "Flint.ErrorMessageWrapper", {view: view}, view.props.error && view.el(3, "inner", {if: view.props.error}, | ||
view.el(4, "where", null, | ||
@@ -166,3 +166,3 @@ fileName(view.props.error.file || view.props.error.fileName), | ||
);}); | ||
);}; | ||
var red = '#C51E19'; | ||
@@ -250,4 +250,4 @@ | ||
Flint.view("ErrorIcon", "1341285321", function (view, on) { | ||
view.update(view._render = function () {return view.el(8, "Flint.ErrorIconWrapper", {view: view}, view.el(9, "svg", {viewBox: "0 0 27.963 27.963"}, | ||
Flint.view("ErrorIcon", "-1890021958", function (view, on) { | ||
view.render = function () {return view.el(8, "Flint.ErrorIconWrapper", {view: view}, view.el(9, "svg", {viewBox: "0 0 27.963 27.963"}, | ||
view.el(10, "path", {d: "M13.983,0C6.261,0,0.001,6.259,0.001,13.979c0,7.724,6.26,13.984,13.982,13.984s13.98-6.261,13.98-13.984\\n C27.963,6.259,21.705,0,13.983,0z M13.983,26.531c-6.933,0-12.55-5.62-12.55-12.553c0-6.93,5.617-12.548,12.55-12.548\\n c6.931,0,12.549,5.618,12.549,12.548C26.531,20.911,20.913,26.531,13.983,26.531z"}), | ||
@@ -261,3 +261,3 @@ | ||
);}); | ||
);}; | ||
view.styles.$svg = function(_index) { return { | ||
@@ -272,7 +272,7 @@ width: 19, | ||
/* end view: ErrorIcon */;;return exports }) }(); | ||
!function() { return Flint.file('/main.js', function(exports) {"use strict";Flint.view("Main", "1755745248", function (view, on) { | ||
view.update(view._render = function () {return view.el(13, "Flint.MainWrapper", {view: view}, view.el(14, "Errors", null), | ||
!function() { return Flint.file('/main.js', function(exports) {"use strict";Flint.view("Main", "783269621", function (view, on) { | ||
view.render = function () {return view.el(13, "Flint.MainWrapper", {view: view}, view.el(14, "Errors", null), | ||
view.el(15, "Installer", null) | ||
);}); | ||
);}; | ||
view.styles.$ = function(_index) { return { | ||
@@ -286,4 +286,4 @@ position: 'fixed', | ||
/* end view: Main */;;return exports }) }(); | ||
!function() { return Flint.file('/modal.js', function(exports) {"use strict";Flint.view("Modal", "-1472366128", function (view, on) { | ||
view.update(view._render = function () {return view.el(16, "Flint.ModalWrapper", {view: view}, view.el(17, "modal", null, | ||
!function() { return Flint.file('/modal.js', function(exports) {"use strict";Flint.view("Modal", "289233769", function (view, on) { | ||
view.render = function () {return view.el(16, "Flint.ModalWrapper", {view: view}, view.el(17, "modal", null, | ||
view.el(18, "close", {onClick: view.props.onClose}, "X"), | ||
@@ -294,3 +294,3 @@ view.props.title && view.el(19, "title", {if: view.props.title}, view.props.title), | ||
);}); | ||
);}; | ||
view.styles.$ = function(_index) { return { | ||
@@ -340,3 +340,3 @@ position: 'absolute', | ||
Flint.view("Installer", "2126317651", function (view, on) { | ||
Flint.view("Installer", "2025808220", function (view, on) { | ||
var version = ''; | ||
@@ -399,3 +399,3 @@ var versions = []; | ||
view.update(view._render = function () {return view.el(22, "Flint.InstallerWrapper", {view: view}, view.el(23, "Modal", { | ||
view.render = function () {return view.el(22, "Flint.InstallerWrapper", {view: view}, view.el(23, "Modal", { | ||
open: state > 0, | ||
@@ -407,8 +407,8 @@ onClose: closeModal, | ||
) | ||
);});}); | ||
);};}); | ||
/* end view: Installer */; | ||
Flint.view("InstallerLoading", "-174407452", function (view, on) { | ||
view.update(view._render = function () {return view.el(25, "Flint.InstallerLoadingWrapper", {view: view}, view.el(26, "svg", {viewBox: "0 14 32 18", width: "32", height: "4", fill: "#f20", preserveAspectRatio: "none"}, | ||
Flint.view("InstallerLoading", "-645300539", function (view, on) { | ||
view.render = function () {return view.el(25, "Flint.InstallerLoadingWrapper", {view: view}, view.el(26, "svg", {viewBox: "0 14 32 18", width: "32", height: "4", fill: "#f20", preserveAspectRatio: "none"}, | ||
view.el(27, "path", {className: "first", opacity: "0.8", transform: "translate(0 0)", d: "M2 14 V18 H6 V14z"}, | ||
@@ -425,3 +425,3 @@ view.el(28, "animateTransform", {attributeName: "transform", type: "translate", values: "0 0; 24 0; 0 0", dur: "2s", begin: "0", repeatCount: "indefinite", keySplines: "0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8", calcMode: "spline"}) | ||
);}); | ||
);}; | ||
view.styles.$svg = function(_index) { return { | ||
@@ -439,4 +439,4 @@ position: 'absolute', | ||
Flint.view("Versions", "-641897763", function (view, on) { | ||
view.update(view._render = function () {return view.el(33, "Flint.VersionsWrapper", {view: view}, view.props.versions.__flintmap(function(_, _index) { return view.el(function() { return [_index, 34] }, "version", {repeat: view.props.versions, onClick: function () {return view.props.onSelect(_);}}, | ||
Flint.view("Versions", "-963068884", function (view, on) { | ||
view.render = function () {return view.el(33, "Flint.VersionsWrapper", {view: view}, view.props.versions.__flintmap(function(_, _index) { return view.el(function() { return [_index, 34] }, "version", {repeat: view.props.versions, onClick: function () {return view.props.onSelect(_);}}, | ||
view.el(35, "inner", null, | ||
@@ -449,3 +449,3 @@ view.el(36, "v", {key: 'v' + _index}, _.version), | ||
);}); | ||
);}; | ||
view.styles.$version = function(_index) { return { | ||
@@ -452,0 +452,0 @@ textAlign: 'left', |
@@ -6,3 +6,3 @@ { | ||
"description": "tools", | ||
"version": "1.0.83", | ||
"version": "1.0.84", | ||
"main": "", | ||
@@ -9,0 +9,0 @@ "scripts": {}, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
312612
2225