Commit b58da095 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

fnordmetric ui build process

parent 20b1f57b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
test*
*.tar
+17 −0
Original line number Diff line number Diff line
#!/bin/bash

version=$(
  cat js/fnordmetric.js | \
    grep "var version" | \
    sed -e 's/[^"]*"\([0-9.]*\).*/\1/'  
)

echo "* Building FnordMetric UI v$version..."

(
  echo "/* this is an automatically generated file, don't modify it... */"
  cat js/d3.fnordmetric.js
@@ -10,7 +18,16 @@
  cat js/fnordmetric.widgets.counter.js
) > fnordmetric-ui.js

echo "* fnordmetric-ui.js"

(
  echo "/* this is an automatically generated file, don't modify it... */"
  cat css/fnordmetric.graph.css
) > fnordmetric-ui.css

echo "* fnordmetric-ui.css"

tar c fnordmetric-ui.js fnordmetric-ui.css > \
  fnordmetric-ui-$version.tar

echo "* fnordmetric-ui-$version.tar"
+30 −0
Original line number Diff line number Diff line
@@ -9381,8 +9381,17 @@ fnord3.time.scale.utc = function() {
  return fnord3_time_scale(fnord3.scale.linear(), fnord3_time_scaleUTCMethods, fnord3_time_scaleUTCFormat);
};
})();
// FnordMetric UI
//   (c) 2011-2013 Paul Asmuth <paul@paulasmuth.com>
//
// Licensed under the MIT License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of
// the License at: http://opensource.org/licenses/MIT

var FnordMetric = (function(pre){

  var version = "1.2.8";

  var wsAddress, socket, currentNamespace,
     continuations = {},
     continuation = false,
@@ -11513,6 +11522,13 @@ FnordMetric.rickshaw.Series = FnordMetric.rickshaw.Class.create( Array, {
    }
  }
} );
// FnordMetric UI
//   (c) 2011-2013 Paul Asmuth <paul@paulasmuth.com>
//
// Licensed under the MIT License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of
// the License at: http://opensource.org/licenses/MIT

if (typeof FnordMetric == 'undefined')
  FnordMetric = {};

@@ -11678,6 +11694,13 @@ FnordMetric.util.zeroFill = function(obj, since, until) {

  return obj;
}
// FnordMetric UI
//   (c) 2011-2013 Paul Asmuth <paul@paulasmuth.com>
//
// Licensed under the MIT License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of
// the License at: http://opensource.org/licenses/MIT

if (typeof FnordMetric == 'undefined')
  FnordMetric = {};

@@ -11906,6 +11929,13 @@ FnordMetric.widgets.timeseries = function(elem){
  };

};
// FnordMetric UI
//   (c) 2011-2013 Paul Asmuth <paul@paulasmuth.com>
//
// Licensed under the MIT License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of
// the License at: http://opensource.org/licenses/MIT

if (typeof FnordMetric == 'undefined')
  FnordMetric = {};