[SOLVED] Error: views.create is not a function - Only in Safari

Hi Guys,

I’m looking for a mystery here… Only happens in Safari (Chrome and Firefox works just fine).

console.log(f7.views) gives an empty array, and an object in other browsers.

TypeError: f7.views.create is not a function. (In ‘f7.views.create(’.view-main’, {iosSwipeBack: false})’, ‘f7.views.create’ is undefined)

f7 = new Framework7({
root: ‘#app’,
id: ‘my.id’,
name: ‘My App’,
theme: ‘ios’,
panel: {
swipe: ‘right’,

		init: false,
		cache: false,
		precompileTemplates: false,

	// Init/Create main view
	mainView = f7.views.create('.view-main', {iosSwipeBack: false});

Solved, caching problem, cached the old F7 version