Skip to content

Commit 020b871

Browse files
authored
merge the changes in the master branch (#7)
* added browser javascript * removed unneed theme configuration file * added dependences * new js version based on js/main.js * changes to js * test global variable * added main file to generated js file
1 parent d24bf17 commit 020b871

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

js/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
var FIWARE = window.FIWARE || {};
2+
FIWARE.NgsiV2 = require('ngsi_v2');
3+
window.FIWARE = FIWARE;

js/ngsi.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
2-
var NgsiV2 = require('ngsi_v2');
2+
var FIWARE = window.FIWARE || {};
3+
FIWARE.NgsiV2 = require('ngsi_v2');
4+
window.FIWARE = FIWARE;
35

46
},{"ngsi_v2":10}],2:[function(require,module,exports){
57
/**

0 commit comments

Comments
 (0)