'Getting the contract object in web3/metamask

I just tried to continue the "create-simply-dapp" tutorial and - as far I understand - Metamask is not injection web3 anymore. But why is piggybank using web3 definitions?

/**
 * Contract Interactions
 */

piggybankContract = web3.eth.contract


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source