diff --git a/examples/example 10 - Text/index.html b/examples/example 10 - Text/index.html index b204682..277e3b4 100644 --- a/examples/example 10 - Text/index.html +++ b/examples/example 10 - Text/index.html @@ -27,7 +27,7 @@ }; (function() { var wf = document.createElement('script'); - wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + + wf.src = ('https:' === document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; diff --git a/examples/example 10 - Text/index.html b/examples/example 10 - Text/index.html index b204682..277e3b4 100644 --- a/examples/example 10 - Text/index.html +++ b/examples/example 10 - Text/index.html @@ -27,7 +27,7 @@ }; (function() { var wf = document.createElement('script'); - wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + + wf.src = ('https:' === document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; diff --git a/examples/example 12 - Spine/index_goblins.html b/examples/example 12 - Spine/index_goblins.html index 4010633..2914eb2 100644 --- a/examples/example 12 - Spine/index_goblins.html +++ b/examples/example 12 - Spine/index_goblins.html @@ -67,7 +67,7 @@ { // change current skin var currentSkinName = goblin.skeleton.skin.name; - var newSkinName = (currentSkinName == 'goblin' ? 'goblingirl' : 'goblin'); + var newSkinName = (currentSkinName === 'goblin' ? 'goblingirl' : 'goblin'); goblin.skeleton.setSkinByName(newSkinName); goblin.skeleton.setSlotsToSetupPose(); };